This small example should show how you to show/hide the taskbar.
'A simple form that hides the task bar when loading and
'shows it again when unloading
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal ncmdshow As Long) As Long
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpwindowname As String) As Long
Private Sub Form_Load()
ShowWindow FindWindow("Shell_TrayWnd", vbNullString), 0
End Sub
Private Sub Form_Unload(Cancel As Integer)
ShowWindow FindWindow("Shell_TrayWnd", vbNullString), 1
End Sub