PDA

Click to See Complete Forum and Search --> : Run DUN Wizard


Asterisk
Jul 14th, 2000, 05:10 PM
How would i bring up the DUN wizard to create a new dialup account in Windows98 & Windows2000 from within a VB application.

privoli
Jul 17th, 2000, 01:29 AM
You can run the Internet Connection Wizard by running INETWIZ.EXE from the Internet Explorer folder or from the shell prompt. If you want to run the DUN new connection wizard then you will need to find its corresponding API call inside RASAPI.DLL etc... Good luck.

dj4
Jul 17th, 2000, 01:43 AM
Try this:

Public Sub NewDialEntryWin95_98()

Dim WIN
WIN = Shell("rundll32.exe rnaui.dll,RnaWizard, 1)

End Sub

Public Sub NewDialEntryWinNT()

Dim NT
NT = Shell("rasphone.exe -a", 1)

End Sub

-Dj4

Asterisk
Jul 17th, 2000, 04:19 PM
Thanks alot

It works perfectly :)