PDA

Click to See Complete Forum and Search --> : How can you disable the database Close Button ?


StevenSkinner
Mar 29th, 2005, 07:33 AM
Hello,

I know how to disable a form's close button, but how do you disable the databases Close Button ???

Many Thanks

RobDog888
Mar 29th, 2005, 11:45 AM
If we are talking about Access' 'x' close button or the child window database 'x' close button?
Either way the code would be similar to disabling a vb6 forms close button, but if we are talking about the
child database x then you need to use the FindWindow and FindWindowEx APIs.