If you are planning to ship internet explorer with your application. you can use the Internet Explorer Administration Kit's connection manager. For more details see the IEAK home page : ieak.microsoft.com
WINDOWS NT, 2000
In windows NT you can use phonebook files that contain the RAS entries. To see what a phonebook file looks like, search your system for *.pbk files, then open them with notepad (or other text editor)
WINDOWS 95/98 ONLY
DUN files are used in windows 95/98 for import/export of DUN entries. To see what one looks like, create a DUN entry in you Dial-up Networking folder, then copy the entry to another folder by dragging the entry while holding down the right mouse button. Then open this copy in a text editor such as Notepad.
WINDOWS 95/98 ONLY
The RnaRunImport function will create a new dial-up networking profile and try to connect. You need to create a .DUN file first. To call it from VB we can use VB's shell function:
Call Shell("Rundll Rnaui.dll,RnaRunImport " & strDUNFile)
where strDUNFile is the full path and filename of a dial-up connection import file. You do not need to add extra quotations around long file names. These import files are just text files that are very similar to ini files and are given the .DUN extension.
WINDOWS 95/98 ONLY
The RnaWizard displays theMake New Connection dialog . To call it from VB we can use VB's shell function:
Call Shell("Rundll Rnaui.dll,RnaWizard")
To skip the first screen we can also call it like so:
Call Shell("Rundll Rnaui.dll,RnaWizard ,1")
See Also: Contents, Introduction, RasEnumEntries, RasGetEntryProperties, RasSetEntryProperties, RasErrorHandler.