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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot locate the suuport directory

Status
Not open for further replies.

JTHURT

Programmer
Apr 10, 2001
16
US
A new software was loaded by our company that uses FoxPro.
Their system loaded a config.fpw to the C:\WINDOWS\SYSTEM directory. I renamed that file and my default settings returned. However when I build the .exe as I always have it loads as before but when you try to run it I get the "Cannot locate the Microsoft Visual Foxpro support directory". I unloaded the program from my machine and reinstalled it and watched it place the two .dll files into C:\WINDOWS\SYSTEM directory. Again when I tried to run it I got the same message. Which file has the information? It knew which directory to copy to but not where to find it.
Confused programmer.
 
Are the "two .dll files into C:\WINDOWS\SYSTEM directory" also being registered? If not, then use regsvr32.exe to do this manually. The startup code in each VFP .EXE gets the information where the VFP runtime is from the Registry.

Rick


 
Have you opened the config.fpw that came with the application and checked the path statements? David W. Grewe
Dave@internationalbid.com
 
typed in regsvr32 vfp6renu.dll

error screen reads

vfp6renu was loaded, but the DllRegisterServer entry point was not found

vfp6renu does not appear to be a .DLL or .OCX file

I have also uninstalled VFP and reloaded it back.

 
You are correct, vfp6renu.dll is what's called a resource dll. It has no code, just Strings, Icons, Menus, dialogs, etc. That's why different language version have a different vfp6rxxx.dll - e.g. xxx = enu, is the English version.

The one thing that wasn't asked in this thread, was what OS are you running under? If it's NT/2000/XP, make sure you do the install under a user that has local administrator rights.

Rick
 
All of my applications go out to others in my office. I have been doing this for 2 years. Thursday May 30th this message started appearing. Applications that I built months ago that I load onto my machine from the network won't load.
I get the previouly mentioned error.
What changed on my machine?
I'm running Windows 98.


 
Obviously I can't tell you what changed on your computer on that day. Did the network people start a new security policy? Add a new virus checker? Change login profiles?

One thing is not clear to me, do you have anything to do with the "new software .. loaded by company", or are you just a user of it? What version and SP is it using, and what SP of 6.0 are you using? It may all come down to mismatched versions! e.g. You are developing in VFP 6.0 SP5, and the "new software" is running VFP 6.0 (no SP). These two versions wold definitly have conflicts and unless you explicitly put the runtines in the .EXE directory and never try to run the different version apps at the same time, you'll likely have problems.

Note: No SP, SP1, SP2 apps could probably coexist, or SP3, SP4, SP5 apps could probably coexist, but possibly not any in "cross" groups.

Rick


 
I created the .exe for my application and copied it to the network and then loaded the application onto another operators machine.
Works fine.??????
Load it onto mine and it doesn't work.

I have given up.
Since I only run the applications while I'm in FoxPro it seems fruitless to continue to fight it.
Thanks for your help!!!!!
Maybe when I get a new machine and all the software is reloaded this mystery bug will be eliminated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top