The easiest way to add a modem is to display the "Add New Modem" dialog to the user.
To do this from VB, use the follwoing code:
Call Shell("RunDLL32 shell32.dll,Control_RunDLL MODEM.CPL,Modems,Add")
Once again, the easiest way to configure a modem is to display the Modem dialog (from the control panel) to the user, and let them do the configuring.
To do this from VB, use the follwoing code:
Call Shell("RunDLL32 shell32.dll,Control_RunDLL MODEM.CPL,Modems")
See Also: Contents, Introduction , RasEnumDevices