Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to have the ip address of a coputer ?
Message
From
04/03/2003 15:34:24
Fabian Belo
Independent Developer
Argentina
 
 
To
04/03/2003 09:09:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00760834
Message ID:
00761160
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform