Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where do I put my code?
Message
From
25/10/2001 16:32:53
Sasha Burkich
Senior Systems Analyst
British Columbia, Canada
 
 
To
25/10/2001 16:13:42
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00573381
Message ID:
00573389
Views:
19
This message has been marked as the solution to the initial question of the thread.
I do that type of stuff in appApplication.BeforeReadEvents.

I.e.
* Require successful logon before application may continue.
* If you dont care about secutity issues, you can remove this line.
*RETURN IIF(ISNULL(THIS.oSecurity), .T., THIS.oSecurity.AutoLogonDialog())
IF DODEFAULT()
*!*		IF THIS.oMeta.oSDTMgr.NeedUpdate()
*!*			THIS.oMeta.oSDTMgr.UPDATE()
*!*		ENDIF
	_screen.Caption = 'Symposium Tracking System'
	m.goStateManager.OpenForm('SetSymp.scx')
ENDIF
HTH,

Sasha

>VFP 6
>CodeMine 6.1.19
>
>I want to put code (based a lot on Craig Berntson's code) to control simultaneous user access to my application.
>
>Where would be the best place to put that code?
>
>I guess that AppMain would be a good place but I don't know where I could place that code.
>
>That code will have to execute right after the user has identified himself or not too long after so that the app. can continue or give an error message and do a shutdown.
Sasha Burkich
Consultant
Victoria, BC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform