Passing arguments to control.exe or Appwiz.cpl???
Posted on 1997-05-08
I am writing a program for a client which needs to have "Dial-Up Scripting" capability. Since it is unknown wether or not the users will have this installed, I need to make sure it gets installed. My first thought is to somehow pass all the information through control.exe (after I have checked to see if it is already installed):
Call Shell(System.WinDir & "control.exe APPWIZ.CPL", 1)
I want to pass the arguments to the applet and also tell it where the ?.INF file is to install the drivers, etc.
And...I want this whole process to be as invisible as possible to the user.
But, I can't find any documentation on how to do it, or what arguments to use, etc.
Any help or info would be greatly appreciated. I am using VB 4Pro 32Bit in Windows 95.