Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5.0a CoExisting With VFP3.0b
Message
 
To
08/09/1998 09:57:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00134000
Message ID:
00134068
Views:
13
>>>>>>We have the runtime for 3 installed on all of the machines here (including my development pc). I have written an app in 5 and have created a generic setup with the wizzard. After running the setup on a machine, I run my app, which is on the network. When it runs, I get a Fox Error Asking if I want to Convert 3.0 Resource File to 5.0 Format. It doesn't matter whether I say Yes or No, either way, I get another Fox Error saying "File 'myapp.exe' does not exist" Then it quits. In my config.fpw I have a line Resource = C:\Windows\Temp\FoxUser5.Dbf So, I thought, it wouldn't conflict with the 3.0 resource files. What does all of this mean and how do I fix it?
>>>>>>
>>>>>>TIA
>>>>>In config.fpw "set resource off" then if you need it set it to appropriate one in your startup.
>>>>>Cetin
>>>>
>>>>That didn't work. Still get the same Errors. Any other ideas?
>>>>
>>>>TIA
>>>Your config.fpw is the one that's used and "resource=off" fail ? Strange worked all the time for me. Other ideas, in a manner based on the fact that you can disable or change resource file via config.fpw or command line.
>>>You could keep more than one config.fpw - config3.fpw and config5.fpw. In commandline (shortcut typically) "myapp.exe -Cconfig5.fpw" and you must be sure, you're really indicating different resource files. If you don't need them just "resource=off" is the best.
>>>Cetin
>>
>>I'm including the config.fpw in the executable. I've been wondering when I should actually use a resource file? What benefits are gained by using/not using a resource file?
>>
>>TIA
>Keep config.fpw external. Resource file first of all keep window, toolbar positions etc. If you ever using Fox diary it also needs resource file. Generally you keep all of them in your app and don't need it (in old times it was needed more for pdsetup, preferences etc). I don't use it anymore.
>Cetin

Ok, putting an external copy got rid of the first error asking about the resource file. Now I'm just getting the error "File 'timecard.exe' does not exist" Any ideas on that one? Why does the config.fpw not work when it's included? Let me rephrase that. Everything in it seems to work, except for the resource line, why?
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform