Hi,

How can I get the phone number information for a Windows98 dial-up
networking connection?

Thanks.

Re: get dialup phone number information by Jim

Jim
Tue Jun 13 08:59:00 CDT 2006

windows 98? does that still exist?



<mtn_bikers@msn.com> wrote in message
news:1150205252.565302.22530@y43g2000cwc.googlegroups.com...
> Hi,
>
> How can I get the phone number information for a Windows98 dial-up
> networking connection?
>
> Thanks.
>



Re: get dialup phone number information by mr_unreliable

mr_unreliable
Tue Jun 13 18:03:30 CDT 2006

hi mtn_biker,

Contrary to popular opinion, win98 is not dead.

As for your original question, I can tell you to find it,
look here:

HKEY_CURRENT_USER\RemoteAccess\Addresses

In that addresses "hive" you will find a subkey for each of
your connections (called "connectoids"). The information for
each connectoid is in the form of a long binary string.

However, I can't find anywhere which describes how to unpack
that binary, i.e., where to find the field which contains the
phone number (but it _is_ there).

If you want to just dial the number associated with the
connectoid, try this:

wshShell.Run "RunDll32 Rnaui.dll,RnaDial " & DunName, 1, False

Otherwise, you are going to have to delve more deeply
into "RAS" (Remote Access Services). Look it up on msdn.

There is one 3rd-party COM object written by Guenter Born
which provides (script) access to some (but not all) of the
RAS interfaces. It is called wshRAS, and found here:

http://people.freenet.de/gborn/WSHBazaar/WSHRas.htm

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)


mtn_bikers@msn.com wrote:
> Hi,
>
> How can I get the phone number information for a Windows98 dial-up
> networking connection?
>
> Thanks.
>

Re: get dialup phone number information by mr_unreliable

mr_unreliable
Wed Jun 14 13:19:58 CDT 2006

mr_unreliable wrote:
> As for your original question, I can tell you to find it,
> look here:
>
> HKEY_CURRENT_USER\RemoteAccess\Addresses
>
> In that addresses "hive" you will find a subkey for each of
> your connections (called "connectoids"). The information for
> each connectoid is in the form of a long binary string.
>
> However, I can't find anywhere which describes how to unpack
> that binary, i.e., where to find the field which contains the
> phone number (but it _is_ there).

For those "extreme geeks" out there, it _is_ possible to decode
that connectoid blob. Google on "rasentry type" or "rasentry
structure" to find a definition of what's in there.

Incidently, it has been asserted that every different system
has a different connectoid blob!!! Although it appears that the
win9x blob has just been added onto, going from win9x to nt to
2000 to xp.

As an aside, I suspect that the strings are unicode, but haven't
confirmed that as yet.

cheers, jw