Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using OLE object with Embedded Word. Is it blank, changed or just vi

Status
Not open for further replies.

No1MrEd

Programmer
Oct 12, 2001
6
0
0
US
I am working on a system that is written in VB6, using a word.document embedded in an OLE object. I need to be able to determine if the word.document is empty, or changed from initial loading.

We have tried several things.
1) Copying the OLE contents to a clipboard and then pasting the clipboard to a newly opened word document. This creates an error condition when the OLE contents is empty. And does not allow us to know if changes have been made or not.

2) Using the OLE.DataChanged property, but it is always setting the flag to TRUE when the code to expand the display is executed.

Any tips or things we can use ??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top