Thanks Jim, I'll give your suggestions a try.
>Here are a few troubleshooting tips:
>
>1. Make another exe with just single command as follows:
>WAIT WINDOW "test "+SYS(2005) + " "+ SYS(2019)
>
>This will return your foxuser and config file locations. Put it in the same directory as your problematic exe, run it, and see what happens.
>
>2. If it still gives the error, try the new exe in a different directory, and see if it happens there. If it doesn't still happen, see if it points to a new foxuser or config file. If it does still happen, I think you will find that it is looking at the same foxuser or config file, somewhere in the path.
>
>3. If the error goes away in the test exe, put the wait window command as the first line of the main program of your app (after any parameter statement, of course), rebuild and run your app. If the error occurs before the wait window, you know it is something VFP is doing like looking down the path, etc., for config, foxuser files. If the error occurs after the added wait window command, then you know it is something in your code causing it.
>
>I would look first for something in the MSDOS path statement referring to the E drive. Also, weird things can happen if the MSDOS path statement is bogus, like missing a ";", or a ";" substituted for a ":" character.
>
>Hope this helps!
Al Williams
Anola MB, CANADA