Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
It ends in hundreds of IE windows, till resources runs o
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Divers
Thread ID:
01258328
Message ID:
01258330
Vues:
11
This message has been marked as a message which has helped to the initial question of the thread.
Check Re: Microsoft XMLHTTP object automation Message #1107203
? WinHttp("http://whatismyip.org/")
>
>I have, with help from all the guru's here, a method to get the Internet IP address of my computer. This code is working so-so when there is a permanent internet connection, cause there are times when the code fails at IF TYPE() and/or IF VARTYPE() command.
>
>This probably is the reason when on a computer where the internet (ADSL with limited bandwidth, thus disconnected from ISP) is not permanently online. At times the method or rather the automation of IE goes crazy and it starts opening lots and lots of IE windows until the resources run out for creating more windows. Then after a while the same app and code will run OK without any problems or IE windows.
>
>Please help me solve this odd problem. The code follows. Please note the odd IF TYPE("loIE.DOCUMENT") = "O" AND TYPE("loIE.DOCUMENT.NAME") = "C" condition. I have tried to replace it with a VARTYPE() as well as try them individually but it at times returns a true and code later fails.
>
>Thanks.
>
<snip>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform