Apr 30th, 2000, 08:41 PM
Hi!
I need some help pretty bad! I've asked the vbpro's, checked and tried all newsgroups about vb, and still no-one seems to be able to help me.
My problem: An NT-server with 2 NIC's (Network cards that is... duh)... Both have an IP, and I would like to know wich ones. I know I can do it with IPConfig (Win NT4) but I want the software to find out...
I'd like some code like this:
For T=0 to NumOfNics
debug.print IPAdressOfNic(T)
Next T
I know, using Winsock I Could use the .CurrentIP Property, but it only returns one of both (or more). Problem Is the software must run on several systems, all containing 2 or more NIC's.
Can Anyone help me? Please?
I need some help pretty bad! I've asked the vbpro's, checked and tried all newsgroups about vb, and still no-one seems to be able to help me.
My problem: An NT-server with 2 NIC's (Network cards that is... duh)... Both have an IP, and I would like to know wich ones. I know I can do it with IPConfig (Win NT4) but I want the software to find out...
I'd like some code like this:
For T=0 to NumOfNics
debug.print IPAdressOfNic(T)
Next T
I know, using Winsock I Could use the .CurrentIP Property, but it only returns one of both (or more). Problem Is the software must run on several systems, all containing 2 or more NIC's.
Can Anyone help me? Please?