For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > June 2005 > Visual Basic OLE









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Visual Basic OLE
Jeffrey Hodgson

2005-06-11, 3:58 pm

I have an OLE (OLE1) defined on a form which is to contain a Word document.

On form load the following is executed -

OLE1.Class = "Word.Document"
OLE1.SourceDoc = "c:\ExamQ\paper_1.doc"
OLE1.Action = OLE_CREATE_EMBED

MS word is activated by

OLE1.Action = 7

and the OLE window becomes a Word application, but but, minus the File menu
with the Save command.

If I edit the word document how do I save the changes.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com