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!

How to Detect Failure of OLE2 INVOKE commands to MS-Word

Status
Not open for further replies.

jeffward

MIS
Jul 3, 2002
33
GB
I am using OLE2 to automate MS-word mail merge and it works fine but I now need to build in error handling before the application is ready for the end-users.

So far I have been unable to detect simulated errors on the Word end such as if the source document does not exist or the destination document already exists and is read only etc.

I have tries using the OLE2.LAST_EXCEPTION but this does not work.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top