Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MMF uses INI Files in Win2000
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00392395
Message ID:
00392714
Views:
20
Ed,

Good to hear from you...you look *smashing* in your picture!

This problem is actually fixed in an upcoming service pack release. I removed the check for 16/32 bit operating systems since VFP6 only runs on 32-bit operating systems. For now, you can simply replace ALL of the code in CAppBase.GetSystemSettingClass() with the following:

LOCAL lcSystemSettingClass

IF !This.lUseINIFile
*--------------------------------------------------------------
*-- Define the cRegistry as the class handling system settings.
*--------------------------------------------------------------
lcSystemSettingClass = "Registry"

*-----------------------
*-- Get the registry key
*-----------------------
This.cRegistryKey = This.GetRegistryKey()

*------------------------------
*-- Initialize the INI property
*------------------------------
This.cINIFile = ""
ELSE
lcSystemSettingClass = "INIFile"

*--------------------------------------------------------
*-- Initialize the cRegistryKey property
*--------------------------------------------------------
this.cRegistryKey = ""

*--------------------------------------------------
*-- Retrieve the name of the application's INI file
*--------------------------------------------------
This.cINIFile = This.GetINIFile()
ENDIF

RETURN lcSystemSettingClass

Regards,
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