mrfitness


I created an EXE file with Foxpro 9 ...but now I am at a new job that uses Foxpro 6. When I try to run the EXE file I get an error : Cannot locate Microsoft Visual Foxpro support library. I did some research on this error and tried to copy the following 5 (five) .dll ( Supporting ) files into the
path c:\windows\system:
1. Vfp6enu.dll
2. Vfp6r.dll
3. Vfp6renu.dll
4.Vfpcab.dll
5. Vfpodbc.dll

That still did not get rid of the error. I believe I have to have the latest runtime environment but I do not know how to get this. Would I just be able to open the VFP9 project in VFP6 and re-build
Please help



Re: Foxpro support library not found

Alex Feldstein


To run a VFP9 exe you need VFP9's runtimes installed in the client machince. To run VFP6.exe then you need VFP6's.

Both runtime file sets can coexist with no problems.

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






Re: Foxpro support library not found

mrfitness

Thank you for your quick response.Where is it on that page for me to actually download the libraries Or was that just the list of DLL files I need to get




Re: Foxpro support library not found

Naomi Nosonovsky

Check ftp://ftp.prolib.de/public/ (the link to this page right at the top).

Also, if you want to just run VFP9 application, but still use VFP6 for development, I would probably put all support libraries in the same folder as your VFP9 exe resides.





Re: Foxpro support library not found

mrfitness

Thanks...so to clarify I have to install all of these
VFP3SP1RT.EXE 7506 KB 10/12/1999 12:00:00 AM
VFP5SP1RT.EXE 1420 KB 12/14/1997 12:00:00 AM
VFP5SP1RT.W02 1420 KB 12/14/1997 12:00:00 AM
VFP5SP1RT.W03 34 KB 12/14/1997 12:00:00 AM
VFP6SP5RT.EXE 6077 KB 8/30/2001 12:00:00 AM
VFP7SP0RT.EXE 6153 KB 9/21/2001 12:00:00 AM
VFP7SP1RT.exe 9878 KB 6/22/2006 12:00:00 AM
VFP8SP0RT.EXE 9220 KB 6/27/2003 12:00:00 AM
VFP8SP1RT.exe 10992 KB 6/22/2006 12:00:00 AM
VFP9SP0RT.exe 11151 KB 1/14/2005 12:00:00 AM
VFP9SP1RT.exe 12455 KB 6/22/2006 12:00:00 AM
VFP9SP2RT_CTP.exe




Re: Foxpro support library not found

mrfitness

Ok I realized I should only need to download the VFP6 and VFP9 files - but after trying I get this error:
Files that are required for Windows to run properly have been replaced by unrecognized versions. To maintain system stability, Windows must restore the original versions of these files. Insert your Service Pack 4 CD now.





Re: Foxpro support library not found

Naomi Nosonovsky

I'm afraid that you now really messed up your system. What is your goal - work with VFP6 as your development tool and use VFP9 run-time libraries to run VFP9 application you have

If this is the case, re-install VFP6 and put run-time libraries from VFP9SP1RT.exe

into the folder where your VFP9 exe resides.

If it's the other way around, re-install VFP9 and put run-times into the folder where VFP6 resides.

I may be completely wrong here, though, and you may have 2 different VFP versions installed correctly at the same time.

In any case, it sounds to me like it's time for complete re-install one of the versions to make it workable again.





Re: Foxpro support library not found

mrfitness

I installed all the EXE files on the link you gave me and I can now run the application.
Thank you!
Do you know where I can download apphook.vcx I am trying to open a project created in VFP9 using my VFP6 but get an error instantiating class cannot find that file in the wizards subfolder




Re: Foxpro support library not found

Naomi Nosonovsky

I think your project may have some hooks build in. I would probably try to create a new project in VFP6 and add your main program to it. Then try to build a project. All direct references should be resolved automatically this way. With indirect references (through macros and name expressions) you will have to add these files manually.

I'm not using Wizards for creating my projects, so I can only guess that this library would be in one of the Wizards directory under VFP home directory. Try to search your harddisk for this library.





Re: Foxpro support library not found

AndyKr

>>Do you know where I can download apphook.vcx I am trying to open a project created in VFP9 using my VFP6 but get an error instantiating class cannot find that file in the wizards subfolder

The file is in your Wizards folder in VFP 9.0 BUT Project Hooks were not introduced into VFP until Version 7.0.

I don't think that you can open a project that uses them in VFP 6.0 even if you copy the file from your VFP 9.0 Wizards folder because the VFP 6.0 project does not support project hooks. However I have never tried this and could be wrong...