I was wondering how I get rid of the close button, located on the title bar at the top right hand corner on a VB form, as I do not want the user to be able to click on this and close the form when it is running.
anastasia,
You can disable the close button with an API call(DeleteMenu), let me know if the first solution doesn't satisfy you and I will post some code that you can use.
The code form this site works fine. I just copied the code into the form and hey presto, users cannot now close the form by clicking on the close button.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.