panuvin
Member
Hello, I'm kinda new to VB.NET and would like some advice.
I'm developing a form generator of sorts and the output is going to be either a ms-word document or rich text document. I'm wondering if I can add a ms-word style header to a richtextbox, then save the document. I've gotten the print and save functions, but I'm not sure how to add a header to the richtextbox. It's generated by database information and user input so there's no static content to measure where to put page numbers. I'd also like to throw a logo onto the first page (top) of the document. Is there an easy way to implement these two ideas to generate a document that will be formatted and editable in an app like ms-word?
Thanks,
Panuvin
I'm developing a form generator of sorts and the output is going to be either a ms-word document or rich text document. I'm wondering if I can add a ms-word style header to a richtextbox, then save the document. I've gotten the print and save functions, but I'm not sure how to add a header to the richtextbox. It's generated by database information and user input so there's no static content to measure where to put page numbers. I'd also like to throw a logo onto the first page (top) of the document. Is there an easy way to implement these two ideas to generate a document that will be formatted and editable in an app like ms-word?
Thanks,
Panuvin