Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Router Ip
Message
 
 
To
05/05/2003 10:37:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00784776
Message ID:
00784934
Views:
17
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform