AutoIt Forums: Getting the icon associated with another program? - AutoIt Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Getting the icon associated with another program?

#1 User is offline   Vindicator209 

  • ░▒▓█▌∞▐█▓&
  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 632
  • Joined: 13-July 06
  • Gender:Male
  • Location:Illinois

Posted 04 November 2009 - 04:33 AM

I'm planning to make a little UI for some of my programs, but I don't want to go extracting the ICO files everytime I add a new program.

Is there any way I can get the icon from another file and use it in my script?

This post has been edited by Vindicator209: 04 November 2009 - 05:52 AM

0

#2 User is online   Yashied 

  • Happy in Moscow
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 1,435
  • Joined: 01-November 08
  • Gender:Male
  • Location:The dark spiral galaxy

Posted 04 November 2009 - 02:17 PM

[ autoIt ]    ( Popup )
GUICtrlCreateIcon(@SystenDir & "\shell32.dll", -131, ... )

This post has been edited by Yashied: 04 November 2009 - 02:21 PM

0

#3 User is offline   Volly 

  • I told you...stop staring at my giraffe...
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 6,463
  • Joined: 20-August 05
  • Gender:Male
  • Location:United States

Posted 04 November 2009 - 04:01 PM

It is important to note it may not be possible to get a Icon from a EXE file. What file do you want to get the icon from?

Note, if you want to get icons to use, you can always go here (There free!)
http://www.iconarchive.com/
0

#4 User is offline   trancexx 

  • somewhere beyond the moon
  • PipPipPipPipPipPip
  • Group: Full Members
  • Posts: 1,567
  • Joined: 18-March 08
  • Gender:Not Telling
  • Location:Split, HR

Posted 04 November 2009 - 04:03 PM

View PostVolly, on 04 November 2009 - 04:01 PM, said:

It is important to note it may not be possible to get a Icon from a EXE file. What file do you want to get the icon from?

Why?
What makes the difference?
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users