473,385 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 6075

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_MYDOCUMENTS = 0x000C, CSIDL_MYMUSIC =
0x000D,
CSIDL_MYVIDEO = 0x000E, CSIDL_DESKTOPDIRECTORY = 0x0010, CSIDL_DRIVES/*My
Computer*/ = 0x0011,
CSIDL_NETWORK = 0x0012, CSIDL_NETHOOD = 0x0013, CSIDL_FONTS = 0x0014,
CSIDL_TEMPLATES = 0x0015, CSIDL_COMMON_STARTMENU = 0x0016,
CSIDL_COMMON_PROGRAMS = 0x0017,
CSIDL_COMMON_STARTUP = 0x0018, CSIDL_COMMON_DESKTOPDIRECTORY = 0x0019,
CSIDL_APPDATA = 0x001A,
CSIDL_PRINTHOOD = 0x001B, CSIDL_LOCAL_APPDATA = 0x001C, CSIDL_ALTSTARTUP =
0x001D,
CSIDL_COMMON_ALTSTARTUP = 0x001E, CSIDL_COMMON_FAVORITES = 0x001F,
CSIDL_INTERNET_CACHE = 0x0020,
CSIDL_COOKIES = 0x0021, CSIDL_HISTORY = 0x0022, CSIDL_COMMON_APPDATA =
0x0023, CSIDL_WINDOWS = 0x0024,
CSIDL_SYSTEM = 0x0025, CSIDL_PROGRAM_FILES = 0x0026, CSIDL_MYPICTURES =
0x0027, CSIDL_PROFILE = 0x0028,
CSIDL_PROGRAM_FILES_COMMON = 0x002B, CSIDL_COMMON_TEMPLATES = 0x002D,
CSIDL_COMMON_DOCUMENTS = 0x002E, CSIDL_COMMON_ADMINTOOLS = 0x002F,
CSIDL_ADMINTOOLS = 0x0030, CSIDL_COMMON_MUSIC = 0x0035,
CSIDL_COMMON_PICTURES = 0x0036, CSIDL_COMMON_VIDEO = 0x0037,
CSIDL_CDBURN_AREA = 0x003B, CSIDL_PROFILES = 0x003E, CSIDL_FLAG_CREATE =
0x8000,
}//CSIDL

- SpotNet

"Andrea" <ku*******@yahoo.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 #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_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_MYDOCUMENTS = 0x000C, CSIDL_MYMUSIC =
0x000D,
CSIDL_MYVIDEO = 0x000E, CSIDL_DESKTOPDIRECTORY = 0x0010, CSIDL_DRIVES/*My
Computer*/ = 0x0011,
CSIDL_NETWORK = 0x0012, CSIDL_NETHOOD = 0x0013, CSIDL_FONTS = 0x0014,
CSIDL_TEMPLATES = 0x0015, CSIDL_COMMON_STARTMENU = 0x0016,
CSIDL_COMMON_PROGRAMS = 0x0017,
CSIDL_COMMON_STARTUP = 0x0018, CSIDL_COMMON_DESKTOPDIRECTORY = 0x0019,
CSIDL_APPDATA = 0x001A,
CSIDL_PRINTHOOD = 0x001B, CSIDL_LOCAL_APPDATA = 0x001C, CSIDL_ALTSTARTUP =
0x001D,
CSIDL_COMMON_ALTSTARTUP = 0x001E, CSIDL_COMMON_FAVORITES = 0x001F,
CSIDL_INTERNET_CACHE = 0x0020,
CSIDL_COOKIES = 0x0021, CSIDL_HISTORY = 0x0022, CSIDL_COMMON_APPDATA =
0x0023, CSIDL_WINDOWS = 0x0024,
CSIDL_SYSTEM = 0x0025, CSIDL_PROGRAM_FILES = 0x0026, CSIDL_MYPICTURES =
0x0027, CSIDL_PROFILE = 0x0028,
CSIDL_PROGRAM_FILES_COMMON = 0x002B, CSIDL_COMMON_TEMPLATES = 0x002D,
CSIDL_COMMON_DOCUMENTS = 0x002E, CSIDL_COMMON_ADMINTOOLS = 0x002F,
CSIDL_ADMINTOOLS = 0x0030, CSIDL_COMMON_MUSIC = 0x0035,
CSIDL_COMMON_PICTURES = 0x0036, CSIDL_COMMON_VIDEO = 0x0037,
CSIDL_CDBURN_AREA = 0x003B, CSIDL_PROFILES = 0x003E, CSIDL_FLAG_CREATE =
0x8000,
}//CSIDL

- SpotNet

"Andrea" <ku*******@yahoo.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
by: Eskimo Joe | last post by:
I am trying to create a desktop icon using VB6. is this possible? -p
5
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...
10
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
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...
1
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...
3
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...
0
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...
1
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. ...
0
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:...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.