|
-
Jan 19th, 2000, 12:30 PM
#1
Thread Starter
Junior Member
I have a dial up connection and want to get that ip in vb...
plz help!
-
Jan 19th, 2000, 12:33 PM
#2
Addicted Member
-
Jan 26th, 2000, 01:12 AM
#3
Thread Starter
Junior Member
Not my internal ip... My modem ip..
-
Jan 27th, 2000, 06:58 PM
#4
Thread Starter
Junior Member
So nobody knows how to get my external, dial up ip?
-
Jan 27th, 2000, 09:09 PM
#5
New Member
hmm. i know the program winipcfg.exe will give it to you... (it's in the windows dir i think)
as for vb getting it, i think there is a way to tell vb to default to the dial up adapter, which when you get winsock1.localip should give you the one you want. so the trick is basically to make the winsock go straight to the dial up adapter...
don't know how to do it though, just thought i could help point you in the right direction.
------------------
lucas darten
programmer-type guy
-
Jan 30th, 2000, 06:31 PM
#6
Hi
Try this
make a "BAT" file with line
"route print >c:\ip.txt"
shell("ip.bat,vbHide")
open ip.txt and find your IP
GoodLuck
-
Feb 23rd, 2000, 11:41 PM
#7
Thread Starter
Junior Member
thanks!
but i dont think i have to use a bat?
-
Feb 23rd, 2000, 11:58 PM
#8
Thread Starter
Junior Member
hmmm doesnt seem to work... (not with a bat either..)
are you sure its right?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|