Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving TCP/IP Address
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00140525
Message ID:
00140895
Vues:
29
>>>Anyone know an easy way to retrieve the local TCP/IP address using VFP?
>>
>>IP Address? I believe NetBios does this. But for the free way, Rick Strahl's wwIPStuff class has a method called GetIPFromDomain that does a DNS Lookup on a domain name...
>
>Thanks, Eric. But I'm wanting the acutal IP address for the machine that my Exe's runninging on, which coincidentally won't have a DNS entry.
Open the registry using regedit to find the key for the ip address. Then use the registry.prg that ships with VFP or get the one from Rick Strahl's WWW.west-wind.com and locate that key.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform