Richard:
Thanks. Like you, since most of my hair has departed for parts unknown, I no longer have a part.
In order to disable (sort of) the application close button, I use a hidden form with a single check box set to False; in the form's OnUnload event, I use this code:
If chkExit = False Then
Cancel = -1
End If
This prevents the user from closing the application by inadvertantly, or intentionally, clicking on the close button and forces them to use the command buttons on the form/s. In the OnClick code of the application quit button I change the chkExit value to True.
I like your idea of capturing the user name. I think I'll tinker with a process for capturing the user name at log on and then deleting it at log off; any remaining names would, as you say, identify a possible problem user/system.
Rose:
There are so many variables involved in tracking down these types of errors that it can drive one to distraction.
Because of all the possible causes, I would suggest you keep a detailed log of all the step and results you take in tracking this down. Not only will it keep you from repeating earlier steps, it can also serve as a guide if, in the future, you encounter similar problems.
Keep us posted and let us know how you get on with this.
Larry De Laruelle
ldelaruelle@familychildrenscenter.org