Hello,
I use OLE to make a connection between my application and Word.
If the connection is broken, I got an error when using OLEINVOKE().
Is there a way to prevent this error to happen ?
If yes, how ?
Thanks a lot in advance.
Error on OLEINVOKE()
Error on OLEINVOKE()
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Michel,
You could use a:
You could use a:
Code: Select all
TRY
OleInvoke( ... )
CATCH
MsgAlert( "there is an error" )
END