Glen,
Are you doing development across multiple drives? If so VFP is hardcoding drive letters into your stuff. If you have all of the source on a single drive VFP just uses relative pathing, even though VFP will display fullpath on the property sheet it's not usually stored that way.
>>
>>The EXE is starting with an environment totally different than your developer time mode. You should examine stuff like SET PATH etc.
>
>In my startup program I capture the drive and folder name into a global variable I call Basic_Path. I set the paths to data and reports from this value as global variables Data_Path and Reports_Path etc. Here is the code for the EXE version (in the dev version I include paths for libs, progs, forms, help, menus etc).
>
>=====================
>PUBLIC App_Path,Basic_Path,Data_path,ToImport_Path,ToExport_Path,;
> Reports_Path
>
>Basic_Path=justpath(SYS(16))+'\'
>
>Data_path=Basic_Path+'DATA'
>ToImport_Path=Basic_Path+'DATA\TOIMPORT'
>ToExport_Path=Basic_Path+'DATA\TOEXPORT'
>Reports_Path=Basic_Path+'Reports'
>
>App_Path="DATA, DATA\TOIMPORT, DATA\TOEXPORT, REPORTS"
>
>SET DEFAULT TO (Basic_Path)
>SET PATH TO (App_Path)
>=============== anything wrong with that?
>
>
>I finally got one to work but it only works if I install it into the defalult path I gave it during the compile. If I install it with any other path name, I get errors.
>
>Glen