PDA

Click to See Complete Forum and Search --> : Storing output is MS-WORD format


harminder
Jan 5th, 2000, 01:49 PM
I am developing a software in VB. The output to the program is displayed on picture box. It is a multipage output with pageup and pagedown facility. The output comprises of text, line graphics and wmf files.

I want to save this complete output in the form of MS-WORD document. Tell me the procedure.


with thanks

KENNNY
Jan 5th, 2000, 04:18 PM
hmm tricky
look at a word doc in notepad, to see how it does the formatting, and try MS website - might have something.

------------------
cintel rules :p
www.cintelsoftware.co.uk

Jan 5th, 2000, 04:47 PM
Does the end user have Word on their machine?
If they do you're in luck!!

Word in an ActiveX application, which means you can put a reference to it in your program and call it's internal functions like you would call other vb functions...

You could start a new word app, copy your text, graphics, etc into it, tell word to save it and then close.

------------------
Matthew Ralston
E-Mail: m.ralston@mediavault.co.uk
ICQ:31422892 (http://www.thebluelink.cjb.net/icq.html)
Web Sites:The Blue Link (http://www.thebluelink.cjb.net) My Home Page (http://mralston.cjb.net)

Tonatiuh
Jan 6th, 2000, 01:19 AM
Do you have any sample code wich do all things you say, Matthew?