Modify Phone Book Baud Rate Programmatically

  • Thread starter matt.b.williams
  • Start date
M

matt.b.williams

I am developing an application using C# (within Visual Studio.NET 2003)
which requires me to use a phone book entry along with RasDial(). As
part of this application, I programmatically create a phone book entry
for a direct connection. However, this entry initially has a baud rate
of 19600. I would like to instead use a baud rate of 115200.
Similarly I also create one for a modem connection which I would set
for a 57600 baud rate. Where I am creating the entry (using IPWorks'
NetDial object), there is no way for me to set the baud.
Does anyone know of an API or possibly a registry modification which
would let allow me to modify these baud rates. As part of the
requirement, the users should not be prompted with anything. The baud
rate modifications should take place entirely behind the scenes.

Thanks in advance for any help.
 
D

Duncan Mole

This info is stored in the registry as 'opague' TAPI data.

You basically have 2 options:

1. Configure the device maually an take a 'snapshot' of the devconfig key
value (I believe mosty people do this)
2. Get down and dirty with TAPI and p/invoke. I am afraid you will have to
forget using IPWorks at this point. I have done a quick search with Google
and came up with this:
http://msdn.microsoft.com/library/d...ak40/html/coconeditingdeviceconfiguration.asp,
it isn't the sample I was using when I was in your position but it looks
similar.



Set your device with the exeact configuarion you want and take
 
D

Duncan Mole

For 'opague' read 'opaque'!!

Duncan Mole said:
This info is stored in the registry as 'opague' TAPI data.

You basically have 2 options:

1. Configure the device maually an take a 'snapshot' of the devconfig key
value (I believe mosty people do this)
2. Get down and dirty with TAPI and p/invoke. I am afraid you will have to
forget using IPWorks at this point. I have done a quick search with Google
and came up with this:
http://msdn.microsoft.com/library/d...ak40/html/coconeditingdeviceconfiguration.asp,
it isn't the sample I was using when I was in your position but it looks
similar.



Set your device with the exeact configuarion you want and take
 
P

Paul G. Tobey [eMVP]

"Opague" is a cross between "opaque" and "vague". Not a bad idea for a
word...

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top