|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Best way to output form informationI 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 wrote:
Show quoteHide quote > I have a form that collects buyer information from emails and displays What are you planning on doing with this file? What program has to be > 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. > 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 tomail 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.
[VB.NET] How to store/load XML schema internally...
Passing values bewteen user controls is separate web forms Coding a TimeSpan Best way to implement 2 controls on one window Best value Help file builder Write to an existing ASCII file Newbee ASP.NET Questions Can't Change Installation Drive for new install of Visual Studio Professional 2005 How to programmatically change directory attributes VB.NET 2.0 |
|||||||||||||||||||||||