Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MMF uses INI Files in Win2000
Message
From
14/07/2000 11:42:06
 
 
To
14/07/2000 10:29:06
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00392395
Message ID:
00392476
Views:
14
Found the problem... The code in the following method needs to check for the value "WINDOWS 5" as a valid 32-bit OS (This is what ?UPPER(OS()) returns in W2k) .
********
* Library: CApp
* Class: CApplication
* Method: GetSystemSettingClass()
*************
IF !This.lUseINIFile
DO CASE
*--------------------------------------------------
*-- If this is a 32-bit operating system, use the
*-- registry rather than an INI file.
*--------------------------------------------------
CASE UPPER(OS()) = "WINDOWS NT" OR LEFT(UPPER(OS()),9) = "WINDOWS 4"
*--------------------------------------------------------------
*-- 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 = ""
ENDCASE
ENDIF
RETURN lcSystemSettingClass

I'm guessing that this is probably fixed in version 6.0. HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform