Best way to output form information

  • Thread starter Thread starter mr_doles
  • Start date Start date
M

mr_doles

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.
 
mr_doles said:
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
 
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.
 
Back
Top