Custom RAS dialer... - TechRepublic
General discussion
November 7, 2000 at 09:29 AM
steven_v_brown

Custom RAS dialer…

by steven_v_brown . Updated 24 years, 9 months ago

I really like your site. It has provided insights that I have not found elsewhere.

I have a slight issue I need a little direction…

————————

I work for a VERY small company that has some stores that attached via MicrosoftNT RAS.

To cut long distance cost I have implemented Microsoft PPTP “VPN”.

In order to establish a “VPN” connection RAS must make two physical connections.
1) Using the Modem, to the RAS entity called [ISP]
2) Using the PPTP port, to the RAS entity called [VPNInternet]
(These entities are located @ %SystemRoot%\System32\RAS\rasphone.pbk )

To do this I wrote an VB application that uses “RASDIAL.EXE” then later used “RasApi32.DLL” to do this launch and administer the RAS ISP connection and RAS VPNInternet connection.

What I need to do now is to take this a one more step,
By creating a custom dialer that uses the existing “RasApi32.DLL” calls but will launch my application instead on the defaults (RASPHONE.EXE) in instanceson AutoDial and Internet Explorer dialing…

Do you have any suggestions?

Thank you!

Steven V Brown
svbrown@tandk.com
steven_v_brown@hotmail.com

This discussion is locked

All Comments