borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (HTML Editor, How?)Next Topic (Shopping Cart) New Topic New Poll Post Reply
AndreaVB Forum : Internet Applications : Getting the number used by a pc to connect to the internet
Poster Message
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876

icon Getting the number used by a pc to connect to the internet

would anyone happen to know how to find out what telephone number the pc is using to connect to the isp?

just thought it would be alright to ask it here.  

____________________________
Been busy trying to take a second degree <--it's not working out...

19-06-2003 at 04:45 PM
View Profile Send Email to User Show All Posts | Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: Getting the number used by a pc to connect to the internet

You should find it in your Internet Options in the control panel.

Click on the connections tab, select your dial up account and click settings.


[Edited by steve_w on 20-06-2003 at 09:04 AM GMT]

20-06-2003 at 09:04 AM
View Profile Send Email to User Show All Posts | Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: Getting the number used by a pc to connect to the internet

thanks, steve.. but not what i mean...

i guess english is confusing sometimes...

by what telephone number the pc is using to connect to the isp?...

i meant what telephone number the pc is using to connect, and not the number it is dialing up to...

.....seems that it isn't so clear....

Option "PC is at home"
Dim PC as computer....
Dim PC_Number as my_house_phone_number....

Dim ISP as internet_service_provider....
Dim ISP_Number as The_number_you_dialup_to....

... i know PC, and of course i know PC_Number...
... i know ISP, and i also know ISP_Number...

CASE:

if i wasn't at home, and i was using the PC at an internet cafe...

ISP and ISP_Number are irrelevant to me...

and the assumption is that i do not know PC_Number... which is the telephone number the cafe is using to dialup to its ISP..

quote:
what code can help me get PC_Number, in case i didn't know it at all?





____________________________
Been busy trying to take a second degree <--it's not working out...
20-06-2003 at 04:50 PM
View Profile Send Email to User Show All Posts | Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: Getting the number used by a pc to connect to the internet

I did think it was a bit of an easy question

20-06-2003 at 05:23 PM
View Profile Send Email to User Show All Posts | Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: Getting the number used by a pc to connect to the internet

Hi Vbgen

I don't think you can find the number out as generally phone lines are hard wired to an exchange where the number is held then routed to the number you have requested. However the receiver may be able to get your number as long as it is not blocked where you may be able to initiate a callback on that modem to the one you are using. I'm still having a look but I think if you were to search on "modem callback" you may find something. Is that what you are trying to do??

Cheers Steve

20-06-2003 at 10:43 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Internet Applications : Getting the number used by a pc to connect to the internet
Previous Topic (HTML Editor, How?)Next Topic (Shopping Cart) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder