X

We Value Your Privacy

We and our partners use technology such as cookies on our site to personalise content and ads, provide social media features, and analyse our traffic. Click below to consent to the use of this technology across the web. You can change your mind and change your consent choices at anytime by returning to this site.

Update Consent
DISCOVER
×
Loading ...

How to hide the taskbar in vbs

Updated July 20, 2017

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.

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

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

  3. Sub Taskbar(blnValue As Boolean)

  4. End Sub

  5. Private Sub Cmdhide_Click()

  6. Dim A As Boolean

  7. A = False

  8. Taskbar (A)

  9. End Sub

  10. Private Sub Cmdunhide_Click()

  11. Dim A As Boolean

  12. A = True

  13. Taskbar (A)

  14. End Sub

  15. 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.

  16. 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

  17. and the taskbar will automatically hide itself.

Loading ...

About the Author

Keith Patrick

Keith Patrick has been writing online since 2008. His articles appear on Patch.com and various other websites. He is currently studying journalism and e-commerce at DePaul University in Chicago.

Loading ...
Loading ...