Mombu the Microsoft Forum

Mombu the Microsoft Forum > Microsoft > Windows NT Server (TECHNET) > How to do pre-dial modem initialization strings with RAS?
REGISTER NOW! Mark Forums Read




Reply
 
Thread Tools Display Modes
1 3rd March 18:28
whitney kew
External User
 
Posts: 1
Default How to do pre-dial modem initialization strings with RAS?



Hello,

Environment: Visual Studio .NET 2005, C++/CLI, WinXP SP2

I have a wireless modem to which I'm trying to connect with RAS. However,
this modem requires a pre-dial initialization string in order to connect. If
I create a new Direct Connection inside my Windows Network Connections
folder, I have to configure the connection to pop up the Pre-Dial Terminal
Screen so that I can enter the pre-dial modem initialization string.
(Right-click on the connection, choose Properties, go to the General tab,
press Configure, and check the "Show terminal window" checkbox.) Once I
enter the modem init string in the Terminal Screen, my modem dials correctly,
and everything is fine.

Now, my problem is, I need to be able to do this programmatically,
completely non-interactively (i.e., without the Terminal Screen). How can I
accomplish this with RAS? (I'm currently calling RasDial() to dial the
modem.)

Thanks!
--
Whitney Kew
Senior Software Engineer
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


Reply


Thread Tools
Display Modes







Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
Also visit Ogoun the Usenet Archive
666