Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Router Ip
Message
 
 
À
05/05/2003 10:37:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00784776
Message ID:
00784934
Vues:
18
Tracy,

You've to wait for page to load. Something like.
DO WHILE loExplorer.readystate <> 4
ENDDO
You'll have to add some code to exit loop on time out.

>Hi Jamie,
>
>I receive an unspecified OLE error on the following line:
>
>loDoc = loExplorer.Document
>
>Using Windows XP SP1, IE6.0xpsp2
>
>What version of IE are you using where it works?
>
>>Robert
>>I see. Try the following in your program:
>>loExplorer = CreateObject("InternetExplorer.Application")
>>loExplorer.Navigate2("www.whatismyip.org")
>>loDoc = loExplorer.Document
>>MyIp = loDoc.Body.Innertext
>>
>>
>>HTH
>>Jaime
>>
>>>no i want to do a program that will retrieve this ip
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform