How to hide the taskbar in vbs

Written by keith patrick | 13/05/2017
How to hide the taskbar in vbs
VBScript can be used within website coding alongside HTML. (code image by Charles Taylor from

VBScript, commonly abbreviated as VBS, is a scripting language used on the Microsoft Windows platform. VBS coders create scripts that can perform small tasks within the Windows operating system. VB scripts are used to do things like automatically open specific applications upon starting up the computer. You can hide the Windows taskbar using a premade VB script and executing it through the "Run" application.

Click "Start" and then click "Programs." Click "Accessories" and then choose "Notepad" in the program list.

Type or copy and paste the following code into a text file:

Sub Taskbar(blnValue As Boolean)

End Sub

Private Sub Cmdhide_Click()

Dim A As Boolean

A = False

Taskbar (A)

End Sub

Private Sub Cmdunhide_Click()

Dim A As Boolean

A = True

Taskbar (A)

End Sub

Select "File" and then choose "Save As." Type a name for your file and then click the "File Type" drop-down menu. Select ".VBS" from the available list. Click the "Save" button.

Click "Start" and then click "Run." Type "CMD" and then press the "Enter" button. Type "Cscript" followed by the name of the .VBS file. Windows will run the script

and the taskbar will automatically hide itself.

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.