Solved

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

Posted on 2004-08-09
8
1,224 Views
Last Modified: 2008-02-01
I need to hide the start button and desktop icons.
0
Comment
Question by:Vartana
  • 4
  • 3
8 Comments
 
LVL 14

Expert Comment

by:ptakja
ID: 11755519
You want to hide it or cover it up with a window?
0
 
LVL 1

Author Comment

by:Vartana
ID: 11755530
hide it
0
 
LVL 1

Author Comment

by:Vartana
ID: 11755561
Can i make my application a background ? like instead of the wallpaper it will be my application ?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:Clif
ID: 11755718
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
 
LVL 1

Author Comment

by:Vartana
ID: 11755763
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
 
LVL 10

Expert Comment

by:Clif
ID: 11755883
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
 
LVL 1

Author Comment

by:Vartana
ID: 11755896
What about the desktop icons ?
0
 
LVL 10

Accepted Solution

by:
Clif earned 500 total points
ID: 11755929
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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question