I think its
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Modem

here an excerpt from http://www.modemdoctor.com/html/news0998.htm:
Modem Keys- The important information on how your modem works is saved
in the key;
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Modem. Under
the Modem subkey, you will again find numerical entries that correspond
to your modems. This area holds a wealth of information about your
system including every important command and response string that your
modem generates. This numeric subkey contains more subkeys that hold
important command strings to answer incoming calls, hang-up the modem,
initialize the modem, monitor for rings, response and init settings, and
exact commands on how to turn on or off certain features of your modem.
All of this information is created from the INF file used to install
your modem. This section also holds the name of the vxd driver to use
for communications, and the description of the type and manufacturer of
your modem.



Cath Sample wrote:
> Hi Valentin,
> Thanks for all the information!
>
> I have been looking at creating an .INS file and running it to set up
> the
> connection, but that brings up a number of dialogue messages which I
> would
> rather avoid, so I will try creating a *.DUN file and installing it.
>
> Alot of these users will probably not have a dial-up connection as
> yet, so
> will they have the HKEY_CURRENT_USER\RemoteAccess\Profile\ entry?
> Where are
> installed modems found in the Registry?
>
> Cath
>
>
> At 02:11 a.m. 19/04/2004 +0200, you wrote:
>> Hi Cath,
>>
>> did I understand your question right that you want to provide your
>> own Dialup-connection instead of using the system's default internet
>> connection method?
>>
>> If yes, here some ideas:
>> - first you should check if the target computer actually uses
>> DialUp-Networking and has a modem installed, eg. by checking some
>> registry values. If Dialup Networking is installed, the key
>> HKEY_CURRENT_USER\RemoteAccess\
>> has to exist, otherwise it doesn't exist. All existing connections
>> (connectoids ) are listed under
>> HKEY_CURRENT_USER\RemoteAccess\Profile\
>>
>> - you could try to provide your own *.DUN file (which is a special
>> INI that contains dialup-connection-infos). you can easily generate
>> such a DUN file by creating a Dial-Up connection (connectoid ) with
>> the correct settings on your own system and dragging it to any
>> folder or the desktop. You can install this DUN file on the user's
>> system with calling
>>
>> Win 9x:
>> RUNDLL32.EXE RNAUI.DLL,RnaRunImport "<path-to-DUN-file>"
>>
>> Win XP (and propably NT/Win2k):
>> RUNDLL32.EXE NETSHELL.DLL,InvokeDunFile "<path-to-DUN-file>"
>>
>> you can do this with Buddy API like
>> baRunProgram( "RUNDLL32.EXE RNAUI.DLL,RnaRunImport
>> <path-to-DUN-file>", hidden", false )
>> baRunProgram( "RUNDLL32.EXE NETSHELL.DLL,InvokeDunFile
>> <path-to-DUN-file>", "hidden", false )
>>
>> A problem might be that a DUN file also contains information about
>> the modem to use, in section [Device]. Maybe you could find out the
>> installed modems from the registry and generate a DUN file with the
>> apropriate modem on the fly. You could even generate the full
>> DUN-file with Buddy API's baWriteIni().
>>
>> After the DUN-file is imported, you can open a dialup connection by
>> using the entry name that is specified in the DUN file (line
>> "Entry_Name=..." in section [Entry]).
>>
>> On Win9x you start a DialUp-connection with calling
>> RunDLL32 RNAUI.DLL,RnaDial <entry name>
>> eg. with Buddy API: baRunProgram( "RunDLL32 RNAUI.DLL,RnaDial <entry
>> name>", hidden", false )
>>
>> On Win NT/2k/XP with:
>> RASDIAL.EXE <entry name>
>> eg. with Buddy API: baRunProgram( "RASDIAL.EXE <entry name>",
>> hidden", false )
>>
>> To uninstall the temporary connection, you can use
>> RASPHONE.EXE -r <entry name>
>> for Win NT/2k/XP, but I don't know how you could do this on Win 9x.
>>
>> Good luck,
>> Valentin
>>
>>
>>
>>
>> Cath Sample wrote:
>>> Hi,
>>> I need to make a CD which will set up temporary dial up connection
>>> and then
>>> connect to a web page. I have tried the demo of DirectConnection
>>> xtra ,
>>> which opens a window so the user can input the phone number, etc,
>>> but I
>>> would really like to do this without making the user input the phone
>>> number. Has anyone done anything like this?
>>>
>>>
>>> Regards
>>>
>>> Cath Sample
>>> Director
>>> Phosphor Essence
>>>
>>> Level 1, 27 Dacre St
>>> PO Box 68755
>>> Newton, Auckland
>>> http://www.phosphor.co.nz
>>> P: +64 9 377 4626
>>> F: +64 9 377 4991
>>> M: 021 748 774
>>>
>>>
>>> The material in this email is confidential to the addressee and may
>>> be protected by legal privilege. If you are not the intended
>>> recipient, please
>>> note that you may not use any material in this message nor pass it
>>> on to
>>> others. If you have received this email in error, please delete it
>>> and notify us immediately by telephone or email
>>> ([EMAIL PROTECTED]).
>>>
>>> [To remove yourself from this list, or to change to digest mode, go
>>> to http://www.penworks.com/lingo-l.cgi  To post messages to the
>>> list, email [EMAIL PROTECTED]  (Problems, email
>>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>>> programming Lingo.  Thanks!]
>>
>> [To remove yourself from this list, or to change to digest mode, go
>> to http://www.penworks.com/lingo-l.cgi  To post messages to the
>> list, email [EMAIL PROTECTED]  (Problems, email
>> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
>> programming Lingo.  Thanks!]
>
> [To remove yourself from this list, or to change to digest mode, go
> to http://www.penworks.com/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email
> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
> programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to