PDA

Click to See Complete Forum and Search --> : How do I make VB determine the users computers' current IP?


Pikachu_902
Dec 7th, 1999, 10:06 PM
That other way doesnt work
How do I make VB determine the users computers' current IP?

------------------

laudy
Dec 7th, 1999, 10:19 PM
You could take the long way around,
by shelling cmd.exe or command.com and passing the ipconfig command... having it
output to a text file, then parse the text file to extract the IP... <sigh>

shell("command.com /c ipconfig >>c:\ip.txt")

(Open the text file and do some string wizardry)

:)