Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2000
    Location
    Las Vegas, Nevada
    Posts
    519

    Changing ICO on MyBook Ext. HD

    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?
    Attached Images

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    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)
    Code:
    Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrenTVersion\\Explorer\\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


    EDIT, here, this is all you need (i assume you are useing ams to do this)

    Code:
    DriveLetter = String.Replace(_SourceDrive, ":", "", false);
    Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrenTVersion\\Explorer\\DriveIcons\\"..DriveLetter.."\\DefaultIcon", "", DriveLetter..":\\\\ico.ico", REG_SZ);
    Last edited by RizlaUK; 04-12-2007 at 06:20 PM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  3. #3
    Join Date
    Nov 2000
    Location
    Las Vegas, Nevada
    Posts
    519
    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

  4. #4
    Join Date
    May 2005
    Posts
    1,115
    Quote Originally Posted by AKPhotoG View Post
    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.
    Never know what life is gonna throw at you.
    (Based on a true story.)

  5. #5
    Join Date
    Nov 2000
    Location
    Las Vegas, Nevada
    Posts
    519
    Quote Originally Posted by bule View Post
    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.

Similar Threads

  1. press buttons/ and changing pictures
    By white sky in forum AutoPlay Media Studio 5.0
    Replies: 11
    Last Post: 10-20-2005, 07:40 PM
  2. INFO: Changing the Resource Information for a Setup.exe
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-15-2002, 02:09 PM
  3. INFO: Changing the Resource Information for a Setup.exe
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-15-2002, 02:09 PM
  4. Change ico for instalations
    By Romahe in forum Setup Factory 6.0
    Replies: 1
    Last Post: 12-05-2001, 09:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts