hello there!! i am creating a vb project, and i want that my mainform could not be minimized by any keyboard events, such that it acts like a desktop.. the program should not allow the user to enter any kind of application even if he/she presses the windows button or any shortcut key for minimizing the form. i will be very grateful for your responses. thanks!!
arvin2006
1
Junior Poster in Training
Recommended Answers
Jump to PostI think you mean modal. You can set that using the following code:
FormName.Show vbModal
Make absolutely sure that you provide an exit for the user. Otherwise they will hate you and delete the project.
Jump to PostAlso you can disable the minimize and maximize buttons from the form designer window and set the window size as maximized. But setting it as modal will not solve your problem. A modal window stops the user from accessing other windows of the SAME application, it has no effect on …
All 5 Replies
DavidRyan
5
Posting Whiz in Training
aparnesh
9
Junior Poster
arvin2006
1
Junior Poster in Training
arvin2006
1
Junior Poster in Training
sendoshin
6
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.