* "Magic Gooddy said:
Sorry, there were two little typos in the code:
\\\
Private Declare Auto Function FindWindowEx Lib "user32.dll" ( _
ByVal hwnd As IntPtr, _
ByVal hWndChild As IntPtr, _
ByVal lpszClassName As String, _
ByVal lpszWindow As String _
) As IntPtr
Private Declare Auto Function ShowWindow Lib "user32.dll" ( _
ByVal hwnd As IntPtr, _
ByVal nCmdShow As Int32 _
) As Int32
Private Const SW_HIDE As Int32 = 0
Private Const SW_RESTORE As Int32 = 9
Private m_hWndStart As IntPtr
..
..
..
Dim n As IntPtr = FindWindowEx(IntPtr.Zero, IntPtr.Zero, "Shell_TrayWnd", vbNullString)
m_hWndStart = FindWindowEx(n, IntPtr.Zero, "BUTTON", vbNullString)
ShowWindow(m_hWndStart, SW_HIDE)
///
.... works as expected.