Lightening


App. runs well on my end. after loading to user's machine, hit the error:

Visual Foxpro cannot start. Could not load resources.

I already copied all VFP9 library files under the app. folder. What else shall I do




Re: Could not load resources error

dni


You may check if you have all runtime files needed:

http://fox.wikis.com/wc.dll Wiki~VFP9RuntimeFiles







Re: Could not load resources error

Jurgen Wondzinski

This error typically shows up, if you haven't provided the correct runtime files. The easiest way to get a VFP app up and running on any Windows PC is to just download (and execute Wink ) one of ProLib's Runtime installers. Take a look at ftp.prolib.de/public and choose the one matching your development version. There's also a Readme.txt file with additional information. Those installers check everything needed by FoxPro, so after you prepared a PC with that installer, you just need to copy your App into any folder and you're all set.







Re: Could not load resources error

Vasim

Also make sure that your config.fpw is placed with the .EXE and the tmpFiles =, sortwork =, progwork = and editwork = in the config.fpw file are pointing to the valid temp folder on the user's machine. Typicaly the tmpFiles =, sortwork etc are set to something like GETENV("TEMP"), thus, I would check the Environment Variable "TEMP" on the user's machine.

I had a strange problem once where I would get your message because the Temp folder did not exist.

Hope this helps.





Re: Could not load resources error

Lightening

Thank you all for your reply. I will check again when I am back to the office.





Re: Could not load resources error

Lightening

After carefully comparing the files, I found VFP9renu.dll is missing. There was a file called VFP9enu.dll. I do not know where it came from. Thank you dni, for your list.