Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get local ip
Message
From
12/03/2004 11:52:40
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00885258
Message ID:
00885655
Views:
16
from the VS6 Msdn help:
ActiveX Controls Overview

ActiveX controls (.ocx files) are installed by default when you install Visual FoxPro. 
You can distribute ActiveX controls with your applications.

...
MSWinsck.ocx Winsock control Mswnsk98.chm 
...
so, jes i think you can include this to your app, to ensure the existance of WinSock. i don't know if all the windows version have it by default.

maybe someone else can jump in to verify that.



>Is this winsock call always successful? I mean, is mswinsock always present?
>
>>try this:
>>ows = createobject("mswinsock.winsock")
>>? ows.LocalIP
>>release ows
>>
>>
>>>Hi all,
>>>
>>>Does somebody know how i can get the ip of my local computer via vfp ?
>>>
>>>thnx
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform