Force Forms to Windows Taskbar While Using SW_HIDE

ocular

New member
Local time
Today, 00:17
Joined
Jul 11, 2007
Messages
3
Hey everyone,
I am currently using fSetAccessWindow in order to Completely Hide the MS Access Window and taskbar item upon opening of the DB. All of my forms are set to popup and modal, and everything is working properly, but I would like for every form (upon load) to appear as it's own item in the Window's Taskbar. Is this possible? And if so, please help me! Any input would be appreciated, Thanks.
 
I simply gave up with fSetAccessWindows because it was too problematic and interfered with other aspects of VBA.

Because of that, I have stopped using it. I instead just maximize my forms to fill the Access windows, and allow Access window to be non-maximized.
 
hi,

as far i'm aware, the only way to accomplish this is to have the access window visible... if the application (access) is hidden, you cannot do this, but i've been wrong before :)
 
If you are still looking for this solution, use the following code:

'#Start of code
Private Sub Form_Load()

Call fAccessWindow("Hide", False, False)
DoCmd.OpenTable "YourTableName", acViewNormal, acReadOnly 'This is necessary for the application to show on taskbar
DoCmd.Close acTable, "YourTableName", acSaveNo


End Sub
'#end of code

This just opens and closes a table in normal view which will make the application show on the task bar.

David Rushforth
 

Users who are viewing this thread

Back
Top Bottom