IP Address of computers on a network
-
Hello, anybody with help on how to get the ip addresses or names of computers on an LAN.I tried using the directory services but doesnt work and the netview thing also kinda doesnt work, anybody with help?Thanks
phatkin
-
Hello, anybody with help on how to get the ip addresses or names of computers on an LAN.I tried using the directory services but doesnt work and the netview thing also kinda doesnt work, anybody with help?Thanks
phatkin
hello frnd, what u use vb.Net or VB 6.0 ??? regards, koolprasad2003:) Be a good listener...Because Opprtunity knoughts softly...N-Joy
-
hello frnd, what u use vb.Net or VB 6.0 ??? regards, koolprasad2003:) 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
-
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