Visual Foxpro on 64-bit machines

Posted on 2011-04-21
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
    LVL 2

    Accepted Solution

    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

    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 29

    Assisted Solution

    by:Olaf Doschke
    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.
    LVL 1

    Assisted Solution

    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

    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

    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

    Thanks, Guys.

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Suggested Solutions

    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://msd…
    For Sennheiser, comfort, quality and security are high priority areas. This paper addresses the security of Bluetooth technology and the supplementary security that Sennheiser’s Contact Center and Office (CC&O) headsets provide.  
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now