In a database at the moment I'm using the code found in the FAQ
FAQ705-2562
which allows Access to operate without displaying it's own window - ie. the grey background is not visible and the forms appear straight against onto the desktop's background.
After implementing this, I decided I wanted the forms I use to appear in the Taskbar (as the user would have to minimize any other apps open on top of Access to get at the form they wanted otherwise). This is done by calling the following (from a module) on each Form_Load -
This had led me onto thinking that I don't really need the main Access Application to appear as an entry in the Taskbar, so I'm looking for a way to hide it. I've done some looking around and I'm not even sure if it's possible.
Has anyone had any experiences similar to what I'm trying to achieve, or any ideas?
Thanks in advance to anyone that can point me in the right direction!
Cheers.
FAQ705-2562
which allows Access to operate without displaying it's own window - ie. the grey background is not visible and the forms appear straight against onto the desktop's background.
After implementing this, I decided I wanted the forms I use to appear in the Taskbar (as the user would have to minimize any other apps open on top of Access to get at the form they wanted otherwise). This is done by calling the following (from a module) on each Form_Load -
Code:
Private Const GWL_EXSTYLE = (-20)
Private Const WS_EX_APPWINDOW = &H40000
Private Const WS_EX_TOOLWINDOW = &H80
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Public Sub AppearInTaskBar(Form As Form)
' Allow a form to have an entry in the Taskbar
' Call this in the Form_Load sub
Call SetWindowLong(Form.hwnd, GWL_EXSTYLE, WS_EX_APPWINDOW)
End Sub
This had led me onto thinking that I don't really need the main Access Application to appear as an entry in the Taskbar, so I'm looking for a way to hide it. I've done some looking around and I'm not even sure if it's possible.
Has anyone had any experiences similar to what I'm trying to achieve, or any ideas?
Thanks in advance to anyone that can point me in the right direction!
Cheers.