View Full Version : Changing ICO on MyBook Ext. HD
RobertB
04-12-2007, 05:30 PM
I sold a chunk of stock images to the local municipality and part of the deal is I create a catalogue on a 500gig MyBook external hard drive. I created a custom .ico from the city logo and placed a bunch of places in the Western Digital folder structure and called the file the same thing....but, I still get their blue WD logo...it would just look more pro if they get this and once they plug it into their network what they see is their logo. TIA! Any idea how I should get it to see their ICO?
RizlaUK
04-12-2007, 07:09 PM
funny enough i was playing round with the same thing the other day
heres how i managed it (you will need to change the "D" to what ever the drive letter is)
Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrenTVersion\\Expl orer\\DriveIcons\\D\\DefaultIcon", "", "D:\\\\ico.ico", REG_SZ);
i would suggest maybe setting a function to get the source drive and then set the key
well, you know what you are doing :cool
EDIT, here, this is all you need (i assume you are useing ams to do this)
DriveLetter = String.Replace(_SourceDrive, ":", "", false);
Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrenTVersion\\Expl orer\\DriveIcons\\"..DriveLetter.."\\DefaultIcon", "", DriveLetter..":\\\\ico.ico", REG_SZ);
RobertB
04-12-2007, 07:23 PM
THx Riz....for the very informative TUT...it also seems that after some time and also rebooting things changed.....???? Thanks for the help. It is little stuff like this that gives the PERCEPTION I know what I am doing with my clients...LOL
I created a custom .ico from the city logo and placed a bunch of places in the Western Digital folder structure and called the file the same thing....but, I still get their blue WD logo...
Have you checked the autorun.inf file... it specifies which icon to use.
RobertB
04-13-2007, 11:16 AM
Have you checked the autorun.inf file... it specifies which icon to use.
Thanks...yea, I am good to go now...it seems it caches the graphic.....I kept the same file name but did a SAVE AS.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.