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

Foxpro 9 Crashes Now All of a Sudden - Please help.

Status
Not open for further replies.

buddyrich2

Technical User
Apr 12, 2006
87
US
I have been using VFP9 for a long time and this is the first time this has happened. When I access a program file with the debugger or open a table, I get an error message saying "Invalid Path or Filename". Program files seem to run fine on their own. I tried to re-install VFP and run a registry fixer but to no avail. BTW - its on Vista.

Does anyone know what is going on????!!!!
 

Only from the debugger?
What happens if you first start a program, then call the debugger with either break point or DEBUG/SUSPEND/SET STEP ON, etc.?
 
Good idea. If I set a breakpoint, the program stops and fires up the debugger, but won't let me step through the program, BUT I don't get the "Invalid Path.." message. Now its says "syntax error" - very strange.
 
If the program you're running is in the VFP directory, or anywhere "under" it inside "Program Files" MOVE IT! VFP is compiling to a virtual directory and looking for your source there. It isn't there, of course.

Vista does not what us writing inside Program Files.

Doug Hennig wrote a series of articles about "things to watch for" in Vista, but I don't have a link handy. <sigh>
 
I tried re-compiling but still have problem. Remember I also cannot open regular data tables because of same problem.

Similar post here says that problem may be because the path environment variable settings have been corrupted. How do I access these to check and possibly correct?
 
OK, I think I'm making progress.... if I go to VFP and say "run as administrator", it works. So.. it MUST be a Vista issue - I have had problems with the "user controller" (or whatever its called) before and I have a feeling this is similar. Must be a permissions issue of some kind.

Anyone have suggestions?
 
It's not a permission issue, it's just the way Vista works WRT security.

Place all "user data" (i.e. your stuff) OUTSIDE the Program Files directory.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top