Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A little crawler prob
Message
From
23/11/2010 14:49:05
 
 
To
23/11/2010 14:40:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01490197
Message ID:
01490281
Views:
50
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform