Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executable does not run on other computers

Status
Not open for further replies.

MikeMV

MIS
May 15, 2006
131
US
I created an exe file using VFP9 which runs fine on my computer, but does not run on other computers which do not have VFP installed. All computers are running Windows XP Pro. Are there any Windows components that need to be installed in order to be able to run these types of files?

The only external component I use is an ODBC connection, but I have set that up in the other computers and tested it and I do not receive any errors with connection problems.

I also included the single database that the project uses in the project, I understand that this should not be a problem because VFP excludes it from the exe, is this correct?

I know this is vague, but I figure I give it a shot to see if this is a common problem.

Thanks in advance for your responses.
 
Hello

To run your compiled application (probably a .exe file?) you need the VFP runtime support files on the target machine. Those files also need to be the correct Service Pack version - so watch out!

The basic files are:

Code:
vfp9r.dll
vfp9renu.dll
msvcr71.dll
gdplus.dll

If you check out the help, or look on your development machine for the above (or your regional equivalents) you can see where they should be.



Regards

Griff
Keep [Smile]ing
 
Mcampos,

One way of ensuring that the correct runtime files are present on the target computer, and that these files are properly registered, is to create a setup program using Installshield Express (which comes with VFP 7.0 and above).

Use the resulting setup program to install your app on the target computer. You only need to do that once. Once the necessary files are present, you can install further applications just by copying the executables.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
You can visit ftp.prolib.de and download ready to use runtime install packets for all versions of VFP.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top