Results 1 to 4 of 4

Thread: Run DUN Wizard

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    34
    How would i bring up the DUN wizard to create a new dialup account in Windows98 & Windows2000 from within a VB application.

  2. #2
    Lively Member
    Join Date
    Nov 1999
    Location
    Melbourne, Victoria, Australia
    Posts
    126

    Cool

    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.
    Regards,

    Paul Rivoli
    ---------------------
    [email protected]
    http://members.dingoblue.net.au/~privoli

  3. #3
    Lively Member
    Join Date
    Jan 1999
    Location
    Karjalohja, Finland
    Posts
    123
    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

  4. #4

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    34
    Thanks alot

    It works perfectly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width