Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On error or Try
Message
 
 
To
17/05/2012 13:03:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01543745
Message ID:
01543796
Views:
42
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
Previous
Reply
Map
View

Click here to load this message in the networking platform