Maximize App from taskbar

  • Thread starter Thread starter David W
  • Start date Start date
D

David W

How do you through code min or max the application to/from the menu bar?

I tried the docmd and all that it affects is the form not the application, I
need too through code minimze the app to the taskbar, then through code at a
later time maximize it from an on timer event.
Is this possible?
 
Option Compare Database
Option Explicit

Private Sub Command0_Click()

Me.TimerInterval = 1000
DoCmd.RunCommand acCmdAppMinimize

End Sub

Private Sub Form_Timer()

Me.TimerInterval = 0
DoCmd.RunCommand acCmdAppMaximize

End Sub
 
Back
Top