RE: PROBLEMS TO RUN OLD APPLICATION UNDER XP
From: Ken Blum
Illinois - United States
To: Tom Mauric
Problems to run old Application under XP
RE: Problems to run old Application under XP
Visual FoxPro 5
General VFP Topics
Tuesday, April 01, 2003 6:35:48 PM
This message was rated by:
> Hello all!
> First: I'm no VFP Programmer, i had never to deal with it.
> In our company we use an VFP-Program, an employee made Years ago. Now we bought a new Computer for our boss and we tried to install this Application on this machine. So there is no Setup-Program for Runtime-Files - I installed VFP 5.0 on this Computer. Then I copied the whole Path from the old Computer to the new one.
> And now the Problem: I can start VFP without any faults, but I can't start the Application(its an exe-File). There is the Error Message "Ressource File could not be found"
> So I tried this with my win2kPro Workstation - it works
> The old Workstation of my boss is a WinNt - it works
> I made an complete new Harddisk with WinXP in my Computer - it works
> I tried it on a win2kServer - it works
> It works anywhere I installed VFP and copied the App, but not on the machine of my boss
> Any Ideas ????
> Thomas Mauric
The FoxPro resource file FOXUSER.DBF holds a variety of resource information (for example, window positions, color sets, Browse window configurations, label definitions, and so on.). FOXUSER is a standard FoxPro table with an associated memo file (.FPT). If the index file does not exist, it is created when the FOXUSER file is opened.
It is possible to define the location/name of the Resource File with a command line switch...
Specifies a resource file (including path if necessary) other than the default. Using this switch makes it possible for you to use Visual FoxPro in a language other than the current language specified by the system.
Also, it may be set within the program itself, which you would not be able to determine from an .exe. Is the path of the old folder the same as the new folder including the drive letter?
This FOXUSER.DBF file may also be corrupted. You could also try deleting it from the folder and it will create a new one.