Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CApplication.AddChildren
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
CApplication.AddChildren
Miscellaneous
Thread ID:
00389712
Message ID:
00389712
Views:
49
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
Next
Reply
Map
View

Click here to load this message in the networking platform