|
-
May 26th, 2009, 11:23 AM
#8
Re: How to get MyComputer Icon?
Ah, it seems like I need glasses. 
You want the My Computer Icon, My Documents etc.
I've got bad news for you, but, perhaps with a little good news - time will tell 
The whole problem is, that the My Computer object is merely an object, not really a fixed thing like a file ( if you get what I'm saying ). The only way that you would get this icon ( alongwith Network Places etc. ) will be to digg very deep into the Registry. Inside the Registry you'd need to find each object's CLSID, then use ExtractIcon, DrawIcon etc. APIs to extract it, and draw it onto something.
If you don't know what CLSID is, here's an article about it - as you can relate in the article, I did extensive research on these objects :
http://www.codeguru.com/vb/gen/vb_sy...php/c13987__1/
That is the only solution.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|