Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
looking for a VB code to hide the windows taskbar...and a vb code to change the background picture.....
Thank you

In a module:
Declare Function ShowWindow Lib "user32" _
(ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Declare Function FindWindow Lib "user32" _
Alias "FindWindowA" (ByVal lpClassName As String, _
ByVal lpWindowName As String) As Long
Declare Function FindWindowEx Lib "user32" _
Alias "FindWindowExA" (ByVal hWnd1 As Long, _
ByVal hWnd2 As Long, _
ByVal lpsz1 As String, _
ByVal lpsz2 As String) As LongSub TaskBar(blnValue As Boolean)
Dim lngHandle As Long
Dim lngStartButton As LonglngHandle = FindWindow("Shell_TrayWnd", "")
If blnValue Then
ShowWindow lngHandle, 5
Else
ShowWindow lngHandle, 0
End If
End SubPublic Sub HideTaskbar()
Dim A As Boolean
A = False
TaskBar (A)
End SubPublic Sub UnHide()
Dim A As Boolean
A = True
TaskBar (A)
End Sub
------------------------
A form with 2 command buttons:Private Sub Command1_Click()
Call HideTaskbar
End SubPrivate Sub Command2_Click()
Call UnHide
End Sub
------------------------
Please let us know if you found someone's advice to be helpful.

![]() |
Servers with HTTPS
|
i would like to make remo...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |