Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gathering Machine Data
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00345312
Message ID:
00383876
Vues:
55
The easiest way I know of is to use the MS Winsock control.

ows = createobject("MSWinsock.Winsock")
? ows.LocalIP

This is for local IP addresses only.

>How do you get the IP address of the local machine?
>
>>>>>IP Address is pretty much all you have access to without specific NT rights to that machine. You can do a lookup to get the machine name, but that doesn't do a troubleshooter much good. A port scanner will get you a little further regarding open holes to the internet, but anything beyond that would be hacking.
>>>>
>>>>If this runs on an Intranet not Internet, then you might be able to get around the access problems by accessing the remote PCs using a Domain Admin account. You would alos be behind any firewall so port availability wouldn't come into play either.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform