Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resource file not valid
Message
From
03/06/2008 04:28:38
 
 
To
03/06/2008 04:26:09
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01321215
Message ID:
01321232
Views:
15
I guess you can also include the file in the exe.

>Forgive my ignorance Tore :)
>As I never gave importance to those files, I always put my executable in a specific path without them and i saw they were created automatically when the application run !
>So what should I do now ?
>Pleeeeaaaaaassseeee !!!
>
>>The normal way is to have this file as a seperate file in the same directory as you exe.
>>
>>>so i should write this line in the config.fpw file of my VFP environment before compiling my executable ?
>>>
>>>>>i never wrote anything in this file. Is It enough to set the resource off in the main program ?
>>>>
>>>>No, because the first line of your main.prg runs after the VFP runtime already has created a foxuser.* pair.
>>>>The config.fpw file is evaluated earlier, so Tore's and Gregory's suggestion is the way.
>>>>
>>>>
>>>>hth
>>>>-Stefan
>>>>
>>>>>>In config.fpw:
>>>>>>RESOURCE=OFF
>>>>>>
>>>>>>>This morning a PC started my executable giving the error that the resource file was not valid, asking for deleting the old one for a new empty one.
>>>>>>>How can i get rid of this message ? The application is launched automatically at the start and there is nobody working on that machine so that i can't say anyone to click on the ok button :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform