Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On error or Try
Message
 
À
17/05/2012 13:03:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01543745
Message ID:
01543796
Vues:
43
Thank you Tore

It's much faster the way you said.

And I've been using it the wrong way for years :)

Moises


>Instead of using createobject() inside the Scan - Endscan structure, I suggest that you use it before the structure. In other words, use the same instance every time.
>
>>Hi
>>
>>I am using createobject() inside SCAN / ENDSCAN structure on a table to track objects in mail post website.
>>
>>It works fine but sometimes createobject return error message and then program stops and I have to execute it again.
>>
>>How can I use “try” or “on error” commands to test the command below
>>and execute it over and over until no errors exist ?
>>
>>
>>loIE = CREATEOBJECT("InternetExplorer.Application")
>>
>>
>>Moises
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform