Dim intReturn As Integer = FindWindow("Shell_traywnd", "")
SetWindowPos(intReturn, 0, 0, 0, 0, 0, SWP_HIDEWINDOW)
This will disable the taskbar.And to enable it:
change SWP_HIDEWINDOW to SWP_SHOWWINDOW
VisualBasic .NET blog for free sources, codes, snippets, projects, guides, tutorials and more.Visual Studio 2008 for the programming tutorials and much more.
Dim intReturn As Integer = FindWindow("Shell_traywnd", "")
SetWindowPos(intReturn, 0, 0, 0, 0, 0, SWP_HIDEWINDOW)
This will disable the taskbar.