IP Address of computers on a network
-
it's easy then just call shell("ipconfig" > "C:\ip.txt") it will create the text file at location C:\ip.txt it contains the ip and other things too. read it and get information and to get the computer name just use
my.computer.name
regards, koolprasad2003:)If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy
-
it's easy then just call shell("ipconfig" > "C:\ip.txt") it will create the text file at location C:\ip.txt it contains the ip and other things too. read it and get information and to get the computer name just use
my.computer.name
regards, koolprasad2003:)If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy
-
it's easy then just call shell("ipconfig" > "C:\ip.txt") it will create the text file at location C:\ip.txt it contains the ip and other things too. read it and get information and to get the computer name just use
my.computer.name
regards, koolprasad2003:)If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy
-
it's easy then just call shell("ipconfig" > "C:\ip.txt") it will create the text file at location C:\ip.txt it contains the ip and other things too. read it and get information and to get the computer name just use
my.computer.name
regards, koolprasad2003:)If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy
koolprasad2003 wrote:
just call shell("ipconfig" > "C:\ip.txt") it will create the text file at location C:\ip.txt it contains the ip and other things too. read it and get information
:wtf: The real question is, would you do that in your project?? Would you create a text file each time and read from it every time you want the ip address?:~ I'd bet that no customer would accept such a solution.
SG
-
koolprasad2003 wrote:
just call shell("ipconfig" > "C:\ip.txt") it will create the text file at location C:\ip.txt it contains the ip and other things too. read it and get information
:wtf: The real question is, would you do that in your project?? Would you create a text file each time and read from it every time you want the ip address?:~ I'd bet that no customer would accept such a solution.
SG
-
Thanks...would work that out Actually am working on a chat application in vb.net where it is asynchrounous and that each macine is act as a server and client and i wanted a way of displaying all computers on an LAN.
phatkin
SG
-
SG
no not ip messenger. this is smaller than that one fo ra project. am trying to use shell cmd net view to get the computers and use a text file cos i can see my way around the rest but the storing to the text file gives me problems says file not found
phatkin