Menus disappeared

Billpos

New member
Local time
Today, 08:22
Joined
Jun 10, 2015
Messages
5
I am running Access 2010 & I have managed to get my database to open hidden with a popup form which opens on an on timer event. From the popup form I can unhide the database window. Problem is, when the database window unhides, it is missing all the menus. I need a button which will re-enable the menus when I need them. Anyone got any ideas ?

Thanks in advance....Bill :)
 
My best advice to you is that you shouldn't hide the Access window using the APIs you're using. If MS wanted developers to hide the window they would have made it easy in the form of a command/method you can call to hide/unhide it. You will encounter other problems with the window hidden.

In any case, try this after making it visible:
Code:
DoCmd.ShowToolbar "Ribbon", acToolbarYes
 
I have tried this command line but it doesn't seem to work for me. Anyway, I decided to take your first bit of advice & am using minimise instead of hide. No problems now & I still have the hide function to use if I need it.

Many thanks for the advice.....Bill
 
Good choice!

I think some of the problems/challenges you may encounter (off the top of my head) with hiding the Access window are:
* Printing and print preview
* Taskbar no longer displays the Access task
* Displaying other forms/reports - I think that you would have to hide the current form/report to be able to display the form/report that's being opened.

It's just not worth the hassle/time.
 

Users who are viewing this thread

Back
Top Bottom