Solved

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

Posted on 2004-08-09
8
1,229 Views
Last Modified: 2008-02-01
I need to hide the start button and desktop icons.
0
Comment
Question by:Vartana
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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