Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CApplication.AddChildren
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
CApplication.AddChildren
Divers
Thread ID:
00389712
Message ID:
00389712
Vues:
50
Kevin,

In the AddChildren method of the cApplication class, is the following code:

This.Add('oUserMgr', This.oMMFactory.GetClassName('UserMgr'))

IF This.lSecurityEnabled
This.Add('oSecurityMgr', This.oMMFactory.GetClassName('SecurityMgr'))
ENDIF

I am encountering a problem with the UserMgr class and would like a way similar to This.lSecurityEnabled to add/not add this class. I was thinking This.lAskUserID since I don't believe the user table would be necessary if the login form is not being used. SO the code would be:

IF This.lAskUserID
This.Add('oUserMgr', This.oMMFactory.GetClassName('UserMgr'))
ENDIF

The problem I am encountering is with users moving data and the location now does not match the registry. I have added some command line parameters that will fix the registry, but the user table is being opened before my repair logic. I would like to make this change to my version of the framework, but I don't want to get crushed in the future by an update.

Please let me know what you think.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform