Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where do I put my code?
Message
De
25/10/2001 16:32:53
 
 
À
25/10/2001 16:13:42
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00573381
Message ID:
00573389
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform