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