I would like to save my microsoft/word document in a variable within VB6. Also would like to be able to take that variable and display it in microsoft/word.
why not store the location of the document and let all of the applications have access to it by filename and path.
This way, How hard could it be for Word to figure out what's going on? Or for VB for that matter!
Pete
_____________
Real programs don't eat cache
Hi zlovelife,
What I am trying to do is save the document in my .mdb so that the users can use it in the processes. I understand that I could save the document name in the .mdb and then open the document file latter for reporting but would rather store it in the database. thanks CCS...
Just create a field on your table of the type OLE object, than you embed your word documents there.
If you have your documents stored on disk and want to place it on your database you can use the GetChunk/AppendChunk methods for the job.
You can get a preety good example on how to work with this at:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.