05-25-2011 08:12 AM
Yah sorry I decided to go with the logoff feature, however I try running it using the afterlogon event and it gives me errors, most likely because everything has not been loaded yet. Is there an event that runs after everything is loaded, where I can use the logoff code and not get errors?
05-25-2011 04:59 PM
Sounds to me like you're messing with someone putting code in to do a shutdown in the afterlogon routine :-).
05-25-2011 05:58 PM
Hopefully the routine isn't being executed at that time, as ... not much could be accomplished in that scenario.
I was simply trying to point out the earliest and most ideal entry point, Matt had mentioned that he was attempting to use his routine in the AfterLogon(), so I made some assumptions based on that.
05-26-2011 07:21 AM
Yah at first I was trying to shutdown ACT! entirely, which I changed my mind and decided I wanted ACT! to just logoff. Using the logoss function however in the afterlogon event gives errors as I am guessing not everything is loaded yet. So I switched to the viewloaded like Matthew mentioned.