Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to retry a command on error in a COM
Message
From
21/03/2007 10:26:18
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01206469
Message ID:
01206545
Views:
17
Your welcome Bret also in that case if you want to generate a COM Error take a look in the help for COMRETURNERROR function, that is what I call when I want my VFP COM objects to generate an error.

>Basically it looks like the THROW will throw the error out to any error handler that exists in the COM. Which may not be bad at all as the COM should be able to handle the error if the Catch cannot. My biggest problem was trying to get it to stop on this particular error and retry, but not interupt any other errors that may happen in the COM. I will put this code to the test shortly on our developer machine and see what happens. Thanks for the help and the education on this.
>
Alexandre Palma
Senior Application Architect
Previous
Reply
Map
View

Click here to load this message in the networking platform