Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little crawler prob
Message
De
23/11/2010 14:49:05
 
 
À
23/11/2010 14:40:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01490197
Message ID:
01490281
Vues:
51
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform