Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to have the ip address of a coputer ?
Message
De
04/03/2003 15:34:24
Fabian Belo
Independent Developer
Argentine
 
 
À
04/03/2003 09:09:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00760834
Message ID:
00761160
Vues:
24
>how to have the ip address of a computer ?
>actually i use \\myserver\myfolder to access a computer on the network.
>How can i use the Ip address to do the same work ?
Local F, X, Y, U, K
F = Sys(2023) + "\" + SubStr(Sys(2015),1,8) + ".txt" 
X = SubStr(sys(0),1, At(" ", Sys(0))-1) 
Run PING &X > &F
Y = FileToStr(F)
Delete File &F
U = At("[", Y) + 1 
K = At("]", Y)
? SubStr(Y,U,K-U)
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform