Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IP Address with out using IE
Message
From
04/05/2004 21:39:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
IP Address with out using IE
Miscellaneous
Thread ID:
00901027
Message ID:
00901027
Views:
66
Re: #893826

I have reviewed the thread above and found:
ox = CREATEOBJECT('internetexplorer.application')
ox.navigate2("www.whatismyip.org")
DO WHILE ox.busy
ENDDO
IF TYPE("ox") = "O"
	odoc = ox.DOCUMENT
	gcIPAddress = odoc.Body.InnerText 
ENDIF

IF  LEN(ALLTRIM(gcIPAddress)) > 20
	gcIPAddress = 'Not presently connected...'
ENDIF
I'd like to be able to determine the IP Address if the user is connected to the internet using Netscape or AOL.

Any thoughts?

TIA

dg
Next
Reply
Map
View

Click here to load this message in the networking platform