>I try this class on WIN 200 professional and the following message comes up "Please go to control panel to install and configure components". Title of the window is "Windows 2000 Setup".
>
>Statements used:
>Thisform.RunApp.Init("setup.exe",csetup,"NOR")
>Thisform.RunApp.LaunchApp()
>
>RunApp is the name given to the class.
You're not running the SETUP.EXE from the proper directory, and as a result, you're finding a SETUP.EXE somewhere along the Windows search path. I'd start by checking the path specified in the variable csetup to ensure that SETUP.EXE actually resides in the named directory, since otherwise, Windows will search its own path, and may find the wrong program as a result. You can specify an absolute path for SETUP.EXE to avoid having Windows try to find it if it's not where it expects it to be.
If the value of csetup is empty or null, it will run from the VFP current directory.