Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MMF uses INI Files in Win2000
Message
De
14/07/2000 11:42:06
 
 
À
14/07/2000 10:29:06
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00392395
Message ID:
00392476
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform