Hello all you Gurus. I was wondering if anyone has got code that creates an embedded (or whatever)word doc, allows editing, and allows saving to a particular file name? Any assistance would be greatly appreciated.
Printable View
Hello all you Gurus. I was wondering if anyone has got code that creates an embedded (or whatever)word doc, allows editing, and allows saving to a particular file name? Any assistance would be greatly appreciated.
"Embedded" in what?
In a VB Executable app. Can be emddded or linked. No pref. Just need to create it, allow the user to edit it withing the app and then save it to a .doc file.
You can have the document installed with the P&D setup program. Just add it when you package the program. You can also open the document either in your program, or in word from your program.
1. You could add the OLE object to the VB app and manipulate the .doc that way.
However, I have read that it (OLE) is cumbersome and unstable.
2. Load the .doc into a RichTextBox, edit as required.
What kind of editing do you want to do?
Simple stuff could be done similar to using the VBA (Macro) coding.
Bruce.
Does this help?