954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Get drive icon

I need to get the icon from a drive and put it in a picbox.

For example i have an icon on my usb/flash drive and i want to get the icon and put it in a picbox same for my c drive and DVD drive

drabsch
Light Poster
36 posts since Aug 2009
Reputation Points: 10
Solved Threads: 0
 

Not quite sure what you are asking but I do know you will need to use ExtractIconEx. Now, in these search results ...

http://search.yahoo.com/search?fr=yfp-t-701-s&toggle=1&cop=mss&ei=UTF8&rd=r2&p=vb6%20extracticonex

I would suggest that you have a look at vbAccelerator, theScarams, and vbnet.mvps.org examples. One of them should lead you into the right direction...

Good Luck

vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296
 

ill have a look at those sites thanks

if any one has some sample code can you post thanks

drabsch
Light Poster
36 posts since Aug 2009
Reputation Points: 10
Solved Threads: 0
 

What do you think I pointed you to with that search and suggested sites?

vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296
 

ye i found some but there not working in my loop

drabsch
Light Poster
36 posts since Aug 2009
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You