Solved

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

Posted on 2004-08-09
8
1,217 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
ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

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…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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