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:
00187718
Views:
16
Yves,

>Bur no such luck with the Mere Mortals, they really use the resource file.
>When I find the code again I'll sure come back on this.

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:

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!)

Thanks,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform