Shutdown PC through Access button

Hi Joey
Easier to show you with an example.
The code is very simple and no module code is required unless you also want to add extra functionality (as in my previous example)

NOTE
1. This approach only works with the display set to overlapping windows in Access options
2. The form MUST be a maximised popup with NO control box, close, max/min buttons
3. To remove the title bar as well, set form border style to None

Hope that helps
 

Attachments

Last edited:
Just insert the code afresh and leave what you do not want at the moment.
It is hardly going to take up a lot of space.?
Then it should work for you as it does for others.

Hi Isladogs,

I downloaded your file and played with it to familiarize with the in and out of the program. I find it very good.

I tried to strip down items I don't need and keep the item I need to hide the min, max, and x close button.

All my efforts are in futile, I'm sure I missed something here.
Please bear with me and let me know the steps in applying only code to hide the min, max, and x close button in my Main Menu form.


Please see my attachment.

Thanks

Joey
 

Users who are viewing this thread

Back
Top Bottom