Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining IP address of current PC
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00514497
Message ID:
00514558
Views:
9
Sorry, had a bad line there. The corrected code:
oForm = newobject('form')
oForm.AddObject('oleWinsock','oleControl', 'MSWinsock.Winsock.1')
lcIP = oForm.oleWinsock.LocalIP
lcHost = oForm.oleWinsock.LocalHostName
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform