Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Blum
  Where is Ken Blum?
 Chicago
 Illinois - United States
 Ken Blum
 To: Tom Mauric
  Where is Tom Mauric?
 
 Austria
 Tom Mauric
 Tags
Subject: RE: Problems to run old Application under XP
Thread ID: 21754 Message ID: 21786 # Views: 33 # Ratings: 0
Version: Visual FoxPro 5 Category: General VFP Topics
Date: Tuesday, April 01, 2003 6:35:48 PM         
   


> 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 ????
>
> Regards
> 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...
-LFileName
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.

KTB

COMPLETE THREAD

Problems to run old Application under XP Posted by Tom Mauric @ 4/1/2003 9:34:49 AM
RE: Problems to run old Application under XP Posted by Ken Blum @ 4/1/2003 6:35:48 PM
RE: Problems to run old Application under XP Posted by Tom Mauric @ 4/3/2003 3:44:53 PM
RE: Problems to run old Application under XP Posted by Willem-Jan van Ede @ 4/4/2003 4:05:14 PM
RE: Problems to run old Application under XP Posted by Ken Blum @ 4/4/2003 4:24:25 PM