Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error running EXE
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00186778
Message ID:
00187762
Views:
23
>Actually, the Mere Mortals Framework doesn't use the resource file at all. If you don't want your application to use a resource file, do the following:
>


Yep, Sorry for my understatement.
I had it misinterpreted.


>1. In the AApp.vcx library, open the AGlobalEnvironment class
>2. Set the cResource property to OFF
>3. Close the class and save changes.
>

>In addition, the code in CApplication.Set() that runs "SET RESOURCE TO &luTemp", does not get executed unless the AGlobalEnvironment.cResourceTo property has been set to a particular resource file name (it's blank by default).
>
>If you *do* want to specify a resource file that is in a directory structure with spaces in the name, you can simply surround the name of the directory/file with brackets or quotation marks when setting AGlobalEnvironment.cResourceTo. That said, in the next version of the Framework I will automatically add the quotation marks in the Set() method in case the developer neglects to do so (and I'll list your name in the "What's New" hall of fame for spotting it!)


Good thinking. You at least know as well that we are a kinda lazy breed. Or when deadlines are coming up...

And about your hall of fame. Nice to have my name thrown into eternity linked to VFP and Mere Mortals.
Previous
Reply
Map
View

Click here to load this message in the networking platform