>I created a very simple application, compiled it into an .exe for distribution and it works fine on the development machine. When installed on various client machines, the error "File Does Not Exist" occurs when the .exe is launched. If you choose 'IGNORE' the .exe launches and the application seems to run fine. I have checked, and checked again several times and am confident that all the necessary files are being included in the project.
>
More than likely the path to the executable contains a space; I've run into problems starting some VFP executables when installed to UNCs containing a space either in the machinename or sharename, run from a directory other than the one that contains the executable file. In my case, using a mapped drive letter rather than the UNC in the command line of shortcut that starts the executable seems to get around the problem.
>Questions:
>1. Is it possible to get a reference to the specific file that purports not to exist, rather than the general error message?
>
>2. The compile of the exe did not report errors, so how can a file necessary to the project not be included at runtime?
>
>3. The closest reference I saw on Microsoft Tech Support site was if you issue a SET HELP TO in your clean up code, it causes the error when the exe closes. My error occurs at the beginning. The only code in the .prg(set main) that calls the primary form for the app is:
>
>CLOSE DATABASES
>RELEASE ALL
>CLEAR ALL
>Could these references cause the 'File Does Not Exist' Error?
>
>Thanks.