Windows Components Checker
-
How can I programmatically check if a certain Windows component (e.g., Dial-Up Networking) is installed? Is there a way for a VB program to launch the installation process for a missing component? Platform differences? Anyone? A reasonable man adapts himself to the world. An unreasonable one persists, trying to adapt the world to himself. That is why all the progress in the world depends on the unreasonable men.
-
How can I programmatically check if a certain Windows component (e.g., Dial-Up Networking) is installed? Is there a way for a VB program to launch the installation process for a missing component? Platform differences? Anyone? A reasonable man adapts himself to the world. An unreasonable one persists, trying to adapt the world to himself. That is why all the progress in the world depends on the unreasonable men.
I'm not an expert but wouldn't you just create a component via its ProgId which you can lookup with the OLE/COM viewer in VC++? It's also known as the OleView tool on Start Menu | Programs | Microsoft Visual Studio 6.0 Program | Microsoft Visual Studio 6.0 Tools submenu. e.g. Set objScripObj = CreateObject("MSScriptControl.ScriptControl.1") Just trap the error (On Error....) if the Set statement fails, then it is not installed on the system or in the registry. As far as installing a missing component, you would have to provide it since it isn't already installed and if its the DUN object, I don't know about the compatability between different Windows OS.