Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to retry a command on error in a COM
Message
De
21/03/2007 10:26:18
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01206469
Message ID:
01206545
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform