Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert 3.0 resource file to 6.0 format - stop asking this question???

Status
Not open for further replies.

ahaws

Programmer
Nov 28, 2001
355
US
Good morning-
Have had an VFP 7.0 app out for about 2 months, and starting receiving the question above about a week ago.
Didn't change anythiing regarding the resource file - so I am not sure why this began. All I can add is that there is a 2.6 DOS app that runs under a subdirectory of the directory that contains my VFP app. see structure below:
(OCC\OLDOCC\2.6 app)
(OCC\VFP app)

I've added SET RESOURCE OFF in the config.fpw file - didn't work.
I've completely deleted the FOXUSER.DBF - didn't work.
I've completely deleted the CONFIG.FPW file - didn't work.
I've unchecked the resource option under TOOLS|OPTIONS|FILE LOCATIONS to "use resource file" - didn't work.

What else can I do to prevent this question from being asked? I really am not understanding why it just started a week ago.[ponder]

Thanks in advance!
Angie
 
A couple of suggestions that might fix your problem...

In config.fpw put the line RESOURCE=OFF

or

change the name of the resource file that one of the apps uses...this is if you have to use a resource file or just want it available...I mean let the FPD app have the foxuser.dbf and use MyResource.dbf for your VFP 7 app

Set Resource To ("MyResource.dbf")


Slighthaze = NULL

[ul][li]FAQ184-2483
An excellent guide to getting a fast and accurate response to your questions in this forum.[/li][/ul]
 
Hi slighthaze-
tried both of your suggestions - still no luck

Any other suggestions?
Thanks
Angie
 
ok well, try try putting foxuser files in the same directory as the VFP 7 app and another set in with the FPD app. Then search the entire computer for any other occurences of foxuser and delete any that you find (other than the ones you just put in with the apps obviously). Then run your apps and you might get the messagebox the first time on one of them, but then perhaps it will stop asking. They should each find their own given the way in which VFP searches for files.

Post back and let me know if it works...if not we'll think of something else.

Slighthaze = NULL

[ul][li]FAQ184-2483
An excellent guide to getting a fast and accurate response to your questions in this forum.[/li][/ul]
 
HI

What you can do is to identify the culprit.
Give the first statement in your Main.prg

WAIT WINDOW SYS(2005) and get that running.
YOu will get the default location of the FoxUser.DBF it is using as the first resource file.

OR
You can make a total system wide check for the FoxUser.DBF. But this may not always return the correct picture depending on the rights.

VFP invariably looks in the Users personal directory for the FoxUser.DBF

If you want to override that, create a FoxUser.* in the applications default directory. You may still get this overwritten by FPD application. In such a case the simplese thing is.. reach the directory where the application is running and set
ATTRIB +R FOXUSER.*
Then even if it is FPD FoxUser.* the warning message will disappear. Make sure that you use the code SET RESOURCES OFF in your application to avoid unexpected results from the resource file settings.

:)


ramani :)
(Subramanian.G)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top