Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where do I put my code?
Message
De
25/10/2001 19:28:38
 
 
À
25/10/2001 16:32:53
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00573381
Message ID:
00573461
Vues:
24
I had the answer in BeforeReadEvents. I'll put it in this long day ;-)

RETURN IIF(ISNULL(THIS.oSecurity), .T., THIS.oSecurity.AutoLogonDialog()) was already in BeforeReadEvents but I overlooked it.

Thanks for the help Sasha.


>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.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform