Image of Navigational Panel mapped to Contents / Home / Search Activating Dial-Up Networking Connection from VB App
Tech Support Question

Image of Line Break

Q. Ross, I was hoping you might have a solution to a problem we are having trying to activate a WIN95 Dial-Up Networking connection from a VB 3.0 app. We have build a connection which works fine outside the app, and connects through a SHIVA server to our LAN. What we are trying to do is activate this connection from inside our app when the user tries to access data on the LAN and is not connected via modem or Ethernet.

Is there an API call that can be made to an entry in the Dial-Up Networking list to activate the connection and pop-up the WIN95 dialog which allows for phone number and dial parameter option settings?

Any help you could send our way would be greatly appreciated.

From: Mark Ellis
Email: zelnot@ibm.net

A. Mark, as it turns out what you want to do is not too difficult. In fact you can establish the connection directly from your app without popping any dialogs. The key ingredient is a library of code which exposes the RAS 32 interface as an OLE object for VB4 to be able to get at it. The kind folks at Microsoft have made this little gem freely available for download VB32ras.exe - 75KB. This download includes a sample program and some documentation about how to use the OLE server.

Hope this helps.


Image of Arrow to Next Article

[TECH SUPPORT TOC]
Image of Line Break
[HOME] [TABLE OF CONTENTS] [SEARCH]