'***********************************************************' 'Uses Win32Api ' 'By Sri ' 'Code to Hide TaskBar ' 'Used VB and api to Hide TaskBar ' '***********************************************************' 'Steps 'create new project add a standard module to it 'copy following code in standard module Option Explicit Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long Declare Function GetSystemMetrics Lib "user32" (ByVal nIndex As Long) As Long Public Const SM_CXSCREEN = 0 Public Const SM_CYSCREEN = 1 Public Const HWND_TOP = 0 Public Const SWP_SHOWWINDOW = &H40 'copy following code in form module Option Explicit Public Sub prchidetaskbar(frm As Form) On Error GoTo errh Dim cx As Long Dim cy As Long Dim retval As Long ' Determine if screen is already maximized. If frm.WindowState = vbMaximized Then ' Set window to normal size frm.WindowState = vbNormal End If cx = GetSystemMetrics(SM_CXSCREEN) ' Get full screen width. cy = GetSystemMetrics(SM_CYSCREEN) ' Get full screen height. retval = SetWindowPos(frm.hwnd, HWND_TOP, 0, 0, cx, cy, _ SWP_SHOWWINDOW) ' Call API to set new size of window. Exit Sub errh: MsgBox Err.Description, vbInformation End Sub 'during formload task bar is hidden Private Sub Form_Load() Call prchidetaskbar(Me) End Sub