"Dixie" <dixie@dogmail.com> wrote in
news:12940rfc6uqq017@corp.supernews.com:
[color=blue]
> Does this mean that Access automatically closes forms before
> it exits?
>[/color]
Yes!
[color=blue]
> It is quite possible that the particular form would have its
> visible attribute set at false, does that matter?[/color]
Not in the least. I often use a "Welcome" form as a splash
screen, and hide it after 5 seconds. It contains clean-up code
as well as the set-up code.
[color=blue]
>
> dixie
>
> "Bob Quintal" <rquintal@sPAmpatico.ca> wrote in message
> news:Xns97E3BB297AEC6BQuintal@66.150.105.47...[color=green]
>> "Dixie" <dixie@dogmail.com> wrote in
>> news:1293k709l79jc6f@corp.supernews.com:
>>[color=darkred]
>>> My application runs some temporary file clean up code as an
>>> onClick event when users click the exit button. My problem
>>> is that some users don't exit properly and simply click the
>>> cross on the top right corner of the window it is running
>>> in.
>>>
>>> Can I run the code somehow when that happens? If so, how?
>>>
>>> TIA
>>> dixie
>>>[/color]
>> move the code from the On Click event of the button to the on
>> Close event of the form containing that button.
>>
>>
>>
>>
>> --
>> Bob Quintal
>>
>> PA is y I've altered my email address.
>>
>> --
>> Posted via a free Usenet account from
http://www.teranews.com
>>[/color]
>
>
>[/color]
--
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from
http://www.teranews.com