473,731 Members | 2,530 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CLSID of Desktop Folder

What's the CLSID of the Desktop folder?

I'm using the string
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

to launch the My Computer (from the run dialog). I would like to do
the same thing to bring up the Desktop in explorer.

Thanks
Andrea
Jan 22 '06 #1
2 6091

Hello Andrea,

I know you only wanted the Desktop CLSID but, here's all of them.

public enum CSIDL
{
CSIDL_DESKTOP = 0x0000, CSIDL_INTERNET = 0x0001, CSIDL_PROGRAMS = 0x0002,
CSIDL_CONTROLS = 0x0003,
CSIDL_PRINTERS = 0x0004, CSIDL_PERSONAL = 0x0005, CSIDL_FAVORITES = 0x0006,
CSIDL_STARTUP = 0x0007,
CSIDL_RECENT = 0x0008, CSIDL_SENDTO = 0x0009, CSIDL_BITBUCKET/*Recycle
Bin*/ = 0x000A,
CSIDL_STARTMENU = 0x000B, CSIDL_MYDOCUMEN TS = 0x000C, CSIDL_MYMUSIC =
0x000D,
CSIDL_MYVIDEO = 0x000E, CSIDL_DESKTOPDI RECTORY = 0x0010, CSIDL_DRIVES/*My
Computer*/ = 0x0011,
CSIDL_NETWORK = 0x0012, CSIDL_NETHOOD = 0x0013, CSIDL_FONTS = 0x0014,
CSIDL_TEMPLATES = 0x0015, CSIDL_COMMON_ST ARTMENU = 0x0016,
CSIDL_COMMON_PR OGRAMS = 0x0017,
CSIDL_COMMON_ST ARTUP = 0x0018, CSIDL_COMMON_DE SKTOPDIRECTORY = 0x0019,
CSIDL_APPDATA = 0x001A,
CSIDL_PRINTHOOD = 0x001B, CSIDL_LOCAL_APP DATA = 0x001C, CSIDL_ALTSTARTU P =
0x001D,
CSIDL_COMMON_AL TSTARTUP = 0x001E, CSIDL_COMMON_FA VORITES = 0x001F,
CSIDL_INTERNET_ CACHE = 0x0020,
CSIDL_COOKIES = 0x0021, CSIDL_HISTORY = 0x0022, CSIDL_COMMON_AP PDATA =
0x0023, CSIDL_WINDOWS = 0x0024,
CSIDL_SYSTEM = 0x0025, CSIDL_PROGRAM_F ILES = 0x0026, CSIDL_MYPICTURE S =
0x0027, CSIDL_PROFILE = 0x0028,
CSIDL_PROGRAM_F ILES_COMMON = 0x002B, CSIDL_COMMON_TE MPLATES = 0x002D,
CSIDL_COMMON_DO CUMENTS = 0x002E, CSIDL_COMMON_AD MINTOOLS = 0x002F,
CSIDL_ADMINTOOL S = 0x0030, CSIDL_COMMON_MU SIC = 0x0035,
CSIDL_COMMON_PI CTURES = 0x0036, CSIDL_COMMON_VI DEO = 0x0037,
CSIDL_CDBURN_AR EA = 0x003B, CSIDL_PROFILES = 0x003E, CSIDL_FLAG_CREA TE =
0x8000,
}//CSIDL

- SpotNet

"Andrea" <ku*******@yaho o.it> wrote in message
news:r8******** *************** *********@4ax.c om...
: What's the CLSID of the Desktop folder?
:
: I'm using the string
:::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
:
: to launch the My Computer (from the run dialog). I would like to do
: the same thing to bring up the Desktop in explorer.
:
: Thanks
: Andrea
Jan 22 '06 #2
Thank you. But how can I launch explorer from the run dialog so that
it starts up showing the desktop folder?
Thank you.
Andrea

On Sun, 22 Jan 2006 21:40:39 +1100, "SpotNet" <Sp*****@msnews .grp>
wrote:

Hello Andrea,

I know you only wanted the Desktop CLSID but, here's all of them.

public enum CSIDL
{
CSIDL_DESKTOP = 0x0000, CSIDL_INTERNET = 0x0001, CSIDL_PROGRAMS = 0x0002,
CSIDL_CONTRO LS = 0x0003,
CSIDL_PRINTERS = 0x0004, CSIDL_PERSONAL = 0x0005, CSIDL_FAVORITES = 0x0006,
CSIDL_STARTU P = 0x0007,
CSIDL_RECENT = 0x0008, CSIDL_SENDTO = 0x0009, CSIDL_BITBUCKET/*Recycle
Bin*/ = 0x000A,
CSIDL_STARTMENU = 0x000B, CSIDL_MYDOCUMEN TS = 0x000C, CSIDL_MYMUSIC =
0x000D,
CSIDL_MYVIDEO = 0x000E, CSIDL_DESKTOPDI RECTORY = 0x0010, CSIDL_DRIVES/*My
Computer*/ = 0x0011,
CSIDL_NETWORK = 0x0012, CSIDL_NETHOOD = 0x0013, CSIDL_FONTS = 0x0014,
CSIDL_TEMPLATES = 0x0015, CSIDL_COMMON_ST ARTMENU = 0x0016,
CSIDL_COMMON_P ROGRAMS = 0x0017,
CSIDL_COMMON_ST ARTUP = 0x0018, CSIDL_COMMON_DE SKTOPDIRECTORY = 0x0019,
CSIDL_APPDAT A = 0x001A,
CSIDL_PRINTHOOD = 0x001B, CSIDL_LOCAL_APP DATA = 0x001C, CSIDL_ALTSTARTU P =
0x001D,
CSIDL_COMMON_AL TSTARTUP = 0x001E, CSIDL_COMMON_FA VORITES = 0x001F,
CSIDL_INTERNET _CACHE = 0x0020,
CSIDL_COOKIES = 0x0021, CSIDL_HISTORY = 0x0022, CSIDL_COMMON_AP PDATA =
0x0023, CSIDL_WINDOWS = 0x0024,
CSIDL_SYSTEM = 0x0025, CSIDL_PROGRAM_F ILES = 0x0026, CSIDL_MYPICTURE S =
0x0027, CSIDL_PROFILE = 0x0028,
CSIDL_PROGRAM_F ILES_COMMON = 0x002B, CSIDL_COMMON_TE MPLATES = 0x002D,
CSIDL_COMMON_DO CUMENTS = 0x002E, CSIDL_COMMON_AD MINTOOLS = 0x002F,
CSIDL_ADMINTOO LS = 0x0030, CSIDL_COMMON_MU SIC = 0x0035,
CSIDL_COMMON_P ICTURES = 0x0036, CSIDL_COMMON_VI DEO = 0x0037,
CSIDL_CDBURN_A REA = 0x003B, CSIDL_PROFILES = 0x003E, CSIDL_FLAG_CREA TE =
0x8000,
}//CSIDL

- SpotNet

"Andrea" <ku*******@yaho o.it> wrote in message
news:r8******* *************** **********@4ax. com...
: What's the CLSID of the Desktop folder?
:
: I'm using the string
:::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
:
: to launch the My Computer (from the run dialog). I would like to do
: the same thing to bring up the Desktop in explorer.
:
: Thanks
: Andrea

Jan 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
27026
by: Eskimo Joe | last post by:
I am trying to create a desktop icon using VB6. is this possible? -p
5
4672
by: DraguVaso | last post by:
Hi, I want my appliation to Run a Shortcut on my Desktop. This should be done regardless the fact if the Shortcut is in the All Users\Desktop or MyProfile\Desktop and regardless the version of Windows (NT, 2000, XP, 2003, ....) (97 also Cor ;-) ). Is there a way to Access the Desktop-object with VB.NET? How should I do this?
10
1851
by: ad | last post by:
I want to add a shortcut on the user's desktop, the shortcut is a URL to a website (like http://www.microsoft.com) How can I do it with c#?
13
15754
by: brianbasquille | last post by:
Hello all, Am trying to modify / update the existing open-source OpenHTPC. I've renamed most of the namespaces and some forms (as well as added my own with modifications) and everything works except for playing of a video file. I get the message:
1
1554
by: Scott | last post by:
When attempting to run the solution i am getting "COM object with CLSID {hex reference} is either not valid or not registered". I have looked in the debug and it shows a list of items where the symbols have not been loaded (not quite sure what that means), alot of which are references which are held locally within the project folder in the bin folder and are referenced as such. The properties for the references are as follows: -
3
16258
by: Harish | last post by:
I am buiding an application in ASP.Net 2.0 with C#. After installing corel wordperfect i am adding the reference into the application. Afetr adding reference interop.wordperfect.dll is added to the Bin folder. After creating the object of Wordperfect.Perfectscript i am opening the wordperfect file and then run the wordperfect macro. In development version the application is running without any error. If i publish the website on local...
0
1464
by: Phil Galey | last post by:
I created a desktop application in VB.NET and in the Setup and Deployment project, under File System on Target Machine, I added a custom folder which is to be added to the Desktop of All Users. To specify this, I entered DefaultLocation = C:\Documents and Settings\All Users\Desktop AlwaysCreate = True For some reason, though, it is not getting created. During installation, we select Everyone, and so the Desktop shortcut goes to the...
1
1256
by: Martin jensson | last post by:
Hi, If I get the ACL of a desktop folder, I do not get the 'right' security settings. For example the right Read is true when I check using the security properties in the windows explorer. The strange thing is that in comparison with a normal folder (say c:\temp) in the code below bReadAllowed is reached twice. The first thime bReadAllowed
0
1252
by: gago | last post by:
Hello, I have a problem, I have activex written in C# and deployed using the hook to run the msi file inside a cab. (based on article found here: http://www.codeproject.com/KB/cs/C__Deployment.aspx?msg=2147721 ) the activex is working fine but its also not registered good and its registered as the CLSID. so when you look in internet explorer on the downloaded program files folder (objects) you will see the CLSID instead of the...
0
8943
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9442
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9229
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9176
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6725
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4543
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3257
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2713
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2175
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.