[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problem Launching a Fox Pro Application

Posted on 2011-05-11
5
Medium Priority
?
334 Views
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.
0
Comment
Question by:tklingman
  • 3
  • 2
5 Comments
 
LVL 27

Accepted Solution

by:
CaptainCyril earned 1000 total points
ID: 35738694
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.
0
 
LVL 27

Assisted Solution

by:CaptainCyril
CaptainCyril earned 1000 total points
ID: 35738699
Working Directory

or Start In.

Open the properties of the shortcut icon.
0
 

Author Comment

by:tklingman
ID: 35739305
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!
0
 
LVL 27

Expert Comment

by:CaptainCyril
ID: 35739516
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.
0
 

Author Comment

by:tklingman
ID: 35739674
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.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

830 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