Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: VB4/32,VB5,VB6
Expertise: Intermediate
Mar 4, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Open the Internet Connection dialog

The dialog you see when you start an Internet connection is implemented in the RNAUI.DLL file, and the specific function is called RnaDial. To open this dialog from your application you can call this function through the rundll32.exe application (located in Windows directory) specifying the name of the connection you want to start. Here's a routine that opens the dialog of the connection whose name is passed in input:

Sub OpenConnectionDialog(sName As String)
    Shell "rundll32.exe rnaui.dll,RnaDial " & sName, 1
End Sub

Marco Bellinaso
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date