Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get local ip
Message
De
16/03/2004 06:02:22
 
 
À
12/03/2004 11:52:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00885258
Message ID:
00886622
Vues:
22
Hi Gunnar,

It is also my impression that (at least) MSWinsck.ocx must be distributed along with the app.

See also Essential other information not given Thread #886620 Message #886620
I'm curious what reactions will come. :)


>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
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform