Results 1 to 5 of 5

Thread: Change icon on shortcut

  1. #1
    Guest
    Hi!

    How do i change icon on a shortcut??

    I have made an shurtcut on the Desktop to a folder on a local server and i want to change it to the "globe-icon".


  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Do you want to do this through code?
    If not simply right click on the shortcut and choose Properties.
    Click on the Shortcut tab and then on the Change Icon button. Type in (or browse to) the path of the icon to use.

    PS Hur är livet i Växjö?

    Best regards

  3. #3
    Guest
    I want to do it by code!

    When i created an shortcut by code it automaticly choses the default icon for that program. When i make a chortcut to a folder it betcomes an folder icon. I want to change that icon to an globe-icon.

    PS Livet i Växjö är på topp! Soligt å glatt!




  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    The easiest way to create a shortcut is to use the same type of shortcuts that Internet Explorer uses.
    If you drag a link from a webpage in IE and drop it on the desktop it creates a shortcut file with a .url extention.
    This file is actually a pure text file.
    Code:
    [InternetShortcut]
    URL=c:\windows
    IconIndex=0
    IconFile=c:\windows\notepad.exe
    The above example would create a shortcut to the Windows directory and use the first icon in Notepad.exe as its icon.
    If you save a file like that with the .URL extention on your desktop you've just created a shortcut.

    Good luck!

  5. #5
    Guest

    Smile Thanx!

    Thanx!!!




Posting Permissions

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



Click Here to Expand Forum to Full Width