VB.NET Hide Desktop Icons, Hide Start Button 500pts

I need to hide the start button and desktop icons.
LVL 1
VartanaAsked:
Who is Participating?
 
ClifConnect With a Mentor Commented:
Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Private Declare Function ShowWindow Lib "user32" (ByVal hWnd As Long, ByVal nCmdShow As Long) As Long
Option Explicit


'To Show Desktop
Dim hWnd As Long
hWnd = FindWindowEx(0&, 0&, "Progman", vbNullString)
ShowWindow hWnd, 5

'To Hide Desktop
Dim hWnd As Long
hWnd = FindWindowEx(0&, 0&, "Progman", vbNullString)
ShowWindow hWnd, 0
0
 
ptakjaCommented:
You want to hide it or cover it up with a window?
0
 
VartanaAuthor Commented:
hide it
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
VartanaAuthor Commented:
Can i make my application a background ? like instead of the wallpaper it will be my application ?
0
 
ClifCommented:
Planning on playing a practical joke on someone?

I won't tell you how to hide the start button.  That would be cruel and potentially dangerous.

You can make an "application" as your wallpapar (sort of).  I will have to be a webpage with javascript (or vbscript).
0
 
VartanaAuthor Commented:
its not for a joke. this is so my application will be the only thing running. when an admin logs in then it will have full control
0
 
ClifCommented:
Be *very* careful with this.  You could lock yourself out of your own computer during testing.

http://www.dotnetspider.com/Technology/KBPages/412.aspx
0
 
VartanaAuthor Commented:
What about the desktop icons ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.