Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A little crawler prob
Message
From
23/11/2010 15:03:42
 
 
To
23/11/2010 14:49:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01490197
Message ID:
01490285
Views:
42
That fixed it. && Many thanks to Tore (Bed time?:) and all who helped fix this problem.

>Instead of the line lox=CREATEOBJECT('internetexplorer.application'), you can have
>if type('lox')#'O'
>   lox=CREATEOBJECT('internetexplorer.application')
>endif
>That way you will always use the same instance of IE.
>
>>>Bummer, you're right. I should use both parts of my brain before I jump into conclusions. :-)
>>>
>>>>lcHTML is a string variable and has nothing to do with an IE instance.
>>>>
>>>>>Right, and Release lcHTML before that.
>>>>>
>>>>>>Add
>>>>>>
>>>>>>lox.Quit()
>>>>>>lox = NULL
>>>>>>
>>
>>I've been moving these code lines around, but have not had success yet.
>>What order should they be in?
>>
>> lox.QUIT()
>> lcHTML=.NULL.
>> RELEASE lcHTML && Holds a reference to lox
>> lox=.NULL.
>> RELEASE lox
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform