How would i bring up the DUN wizard to create a new dialup account in Windows98 & Windows2000 from within a VB application.
Printable View
How would i bring up the DUN wizard to create a new dialup account in Windows98 & Windows2000 from within a VB application.
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.
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
Thanks alot
It works perfectly :)