Visual Foxpro on 64-bit machines

Posted on 2011-04-21
Medium Priority
Last Modified: 2012-05-11
I have a client how tried to use our installer on a 64-bit machine.   Installed fine, but when we start the program I get a error that is apparently falling outside of our bug reporter that says "Invalid Pathname".

Running the installer on a 32-bit system then starting the program works perfect as always.

Any ideas?
Question by:fmoore0001

Accepted Solution

GreatSolutions earned 800 total points
ID: 35446090
Where does your program install?
If it's under the Program Files, please be aware you have 2 Program Files directories in 64bit windows (one named Program Files x86). I think you should check for os version, and ask to install to the x86 program files directory specifically, or better yet, install under a c:\yourprogram directory...

Hope this helps
LVL 27

Assisted Solution

CaptainCyril earned 400 total points
ID: 35446264
In the installer you should have a {Progams} settings which is the default program files of the OS or the OS will decide versus hard coding the directory "Program Files\".

I never had any problems with InnoSetup.
LVL 30

Assisted Solution

by:Olaf Doschke
Olaf Doschke earned 400 total points
ID: 35447975
If the installation was fine, then the question is, what is not found? Invalid path of your database? This is no vfp system message, that would be different, if that is the litteral error message, I'd say it comes from your app and you should find out what's not found.

Bye, Olaf.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Assisted Solution

IainMacb earned 400 total points
ID: 35458252
I'm with GreatSolutions - the problem is almost certainly down to VFP being installed in the \program files (x86) folder.

I'm running Windows 7 Ultimate 64-bit and ended up with this arrangement. By the time I'd realised what had happened it was easier to alter things and live with it, but what M*cr*s*ft were thinking when they organised for this to be the default arrangement is beyond me.

Author Comment

ID: 35487639
There are more problems.

I tried some other ways of starting the program, and was able to get it to run in XP compatibility mode.  HOWEVER, VFP does not seem to work with the 64-bit HP Office V40X1 printer, just acts like no printer is installed.

I have clients running on 64-bit with no problems, others having fits.  Any ideas?
LVL 27

Expert Comment

ID: 35489044
Well the only problems I had with VFP on Windows Vista were related to security privileges. When I had to run FoxPro for Windows on 32-bit Windows 7, I had to set compatibilities for the application to run and to print.

But before making VFP to run properly on Vista/7, I changed the location of the data to ProgramData or to Users\<username>\ApplicationData\...

Author Closing Comment

ID: 35734899
Thanks, Guys.

Afraid that VFP is just having problems with 64 bit systems.

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
Currently, there is an issue with being able to copy values from an external application to a dropdown list in Project Web Access (PWA).  The standard copy and paste methods don't seem to work properly. Here is a way to accomplish this task to s…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month15 days, left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question