Problem Launching a Fox Pro Application

Posted on 2011-05-11
Last Modified: 2012-05-11
I have an old VFP6 application which we will be replacing in about a year.  I have something like 15 users on Win7/32 bit machines that access this application from a windows 2003 server by clicking a shortcut to the application (within a mapped drive on their PCs) on the server.  A few weeks ago I had problems launching the program from my PC but I didn't have time to deal with it and other users did not report problems. (If I needed to use the program I would remote desktop into the server and use it their). Well, this morning a user reported the same problem I had and so I need to deal with this.  What happens is when I click the shortcut I get the following error messages: API library not found , (if I click OK I then get: ) File MSXBox does not exist; (if I click OK I then get: ) Variable MNDGL not found, (if I click OK I then get: ) Operator/Operand type mismatch.  I have full Admin rights to my computer and users have full rights to the application on the server.  Note: that only myself and this one other employee have this problem right now.  I've cleaned out my Windows Temp directory (not sure but thought it could not hurt). I have not idea what what would cause this problem and why only myself and this one other employee should have.
Question by:tklingman
    LVL 27

    Accepted Solution

    It is looking for a library file that is not any longer in the path.

    Maybe you need to update the Current Directory of the shortcut.
    LVL 27

    Assisted Solution

    Working Directory

    or Start In.

    Open the properties of the shortcut icon.

    Author Comment

    Captain, this gave me enough information to kind of figure it out. I went to another user's computer which I knew was working correctly and looked at their shortcut and it was different than mine and the other employee's in that the location of the executable and start-in location had the syntax of the mapped directory to the program while mine had the syntax of a shared folder (not sure if this makes sense) on the server.  I reset mine (and the other employee's to syntax for the mapped directory and everything works correctly now.  What I don't understand is how the pathing on the shortcut could have changed - made no changes to it but even on the off chance I did, this other employee would have no idea how to do this, so I"m a bit puzzled.  But at least I know what to do if it should crop up again!  Thank you, Thank you!
    LVL 27

    Expert Comment

    This tells the operating system where the current folder is. It is obvious that the library files it was looking for are inside the folder of the application.

    Author Comment

    I thought that this might be the case, what's perplexing though is how the pathing on the shortcut for the employee and myself got changed, and I generally don't think these things happen on their own, so both of us must have done something and simply don't remember what that was.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    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…
    If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    732 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

    22 Experts available now in Live!

    Get 1:1 Help Now