473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Best way to output form information

I have a form that collects buyer information from emails and displays
them in textboxes on the form. I am trying to output this information
to a file to use for a packing slip. I want the file to have a logo
(bmp picture) and the info from the form. I want to do this the
easiest way possible.

Using txt is out since I can't put a picture on it. Automating Word
seems like a lot more work then needed and with new versions of Office
looming on the horizon I would hate to have to rewrite in the future.
I thought an rtf fie would be easy but I am having trouble with it.
Using a stringbuilder and creating html would work. What about XML?
How about another format that I am not thinking of?

Any thoughts or suggestions.

Mar 11 '06 #1
2 1086
mr_doles wrote:
I have a form that collects buyer information from emails and displays
them in textboxes on the form. I am trying to output this information
to a file to use for a packing slip. I want the file to have a logo
(bmp picture) and the info from the form. I want to do this the
easiest way possible.

Using txt is out since I can't put a picture on it. Automating Word
seems like a lot more work then needed and with new versions of Office
looming on the horizon I would hate to have to rewrite in the future.
I thought an rtf fie would be easy but I am having trouble with it.
Using a stringbuilder and creating html would work. What about XML?
How about another format that I am not thinking of?

Any thoughts or suggestions.

What are you planning on doing with this file? What program has to be
able to read it. This maes a difference on what you can do.

chris
Mar 11 '06 #2
>What are you planning on doing with this file?
I want to be able to save it for future reference and print it out to
mail with.
What program has to be able to read it.

Any standard progam like Word, I.E., wordpad, notepad, whatever.

Right now I have a hidden rtf box on the form and I load in an rtf
template from a file. I append text to the rtf box and then save it
out to an rtf file. I finally figured out how to get it working
correctly (when I wrote the first message I was getting errors writing
the file). I was just wondering if this is the cleanest/easiest/best
way to do it or should I look at other formats, like XML or HTML.

Mar 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Doc Wally | last post by:
Dear Colleagues: To begin with I am not a programmer. In fact, I just got all excited because I was able to create my very first .vbs script that actually worked - not that I actually coded...
2
by: Mike Button | last post by:
Hello all, I am really really desperate on what I should do, and I am asking for help from anyone in this newsgroup, here's the situation: I am creating a form that is being run on a server...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
2
by: jeef | last post by:
Im looking for a Form Program that allows someone to easily create a form (ex: word or frontpage) then publish it to the web. Then once someone hits the website they can fill out the form and the...
6
by: Thelma Lubkin | last post by:
I am trying to modify an Access form that allows a user to specify the information s/he needs from a census-type database. The form's code builds a SQL statement from the user's request, and...
0
by: bp_jobemail | last post by:
I'm trying to use PHP to wrap the output of an HTML form before it goes into a precompiled C cgi script. Essentially, the company that I work for uses a purchased precompiled c program for their...
1
by: BLD | last post by:
I am trying to change the output information formatting that is being emailed to a client from their website form. They have quite an extensive form and are saying it is hard to read the plain...
17
by: Petyr David | last post by:
Just looking for the simplest. right now my perl script returns an error messge to the user if the date string is invalid. would like to do this before accessing the server. TX
8
by: Phil Latio | last post by:
I've been creating an application over the last few weeks and generally pleased with what I have produced but one area is irritating me, form validation. At the moment the forms are simply...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.