CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    3

    RasDial vs RasDialDlg

    I'm need to connect and disconnect from the Internet using a VPN defined in a RAS Phone book entry, Note the entry does include a Script file. RasDial doesn't work, while RasDialDlg does! The process needs to be totally automated with no human interaction, so RasDialDlg is not an option. Any one have a idea what the difference between the two are?


  2. #2
    Join Date
    May 1999
    Posts
    25

    Re: RasDial vs RasDialDlg

    Hi,
    This may not answer all your questions- but:

    RasDial works on Win 95/98 and NT.
    RasDialDlg is only for NT.

    I assume that if RasDialDlg works for you then you are running NT.
    I run Win98 and use RasDial.
    If more than one Dialup entry is configured then you may have to give the user an option selection dialogbox or at least give the user the facility to choose which entry they want to use as default
    and save thet in the registry.

    I think you will have a bit of a problem making this truly automated
    because of passwords and possible multiple Dialup entries.





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

Featured