General discussion

Locked

Custom NT RAS dialer

By steven_v_brown ·
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 conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Custom NT RAS dialer

by expertpc In reply to Custom NT RAS dialer

Why are you using VB scripting to establish your connection? Check under NT Help for estaplishing a demand dial VPN.

Collapse -

Custom NT RAS dialer

by steven_v_brown In reply to Custom NT RAS dialer

I require more control and functionality.
I have found the specification on the 'rasapi32.dll' myself. Now does anyone what to share the specification on the 'rasmon.dll'?

Collapse -

Custom NT RAS dialer

by steven_v_brown In reply to Custom NT RAS dialer

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums