Re: Class Modules?

From: Immanuel Sibero (isiberonospam_at_fivestates.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 14:30:04 -0500


Hi Steve,

One way is to open a dummy form with the hidden option as part of your
startup. Put your code on the *OnClose* event handler.

HTH,
Immanuel Sibero

"Steve" <anonymous@discussions.microsoft.com> wrote in message
news:011501c48ba1$019c42f0$7d02280a@phx.gbl...
> I need to execute some code whenever an Access application
> shuts down. Any ideas how I would proceed to do that?



Relevant Pages

  • RE: Cancelling Form.Load event
    ... within the load event handler. ... A better solution to your question is to load data from the database before ... If you choose a form as the startup object and enable the application ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Gecko DOM window onclose event ?
    ... > Thomas 'PointedEars' Lahn napisal: ... >> It is well known that the `unload' event also fires when the document is ... `onclose' is not an event, ... The Gecko DOM appears to support such an event handler: ...
    (comp.lang.javascript)
  • Re: Where to call RestoreDesktop?
    ... > on exit and reload on startup. ... > In mainForm.Onclose I cycle through the application's forms and store ... > That could be in each form's loaded method, ... writing an event handler. ...
    (comp.lang.pascal.delphi.misc)
  • Re: creating custom tool bar for office application
    ... Could you give a reference for how to set up an event handler (in VS.Net ... 2005 COM add-in) for when a document opens? ... interface isn't called when a document is opened, but only at startup. ...
    (microsoft.public.office.developer.com.add_ins)