cramaboule Posted March 18, 2007 Share Posted March 18, 2007 (edited) Hello everyone,Just a little information for Icon:I wanted in my program to have 2 differents icon in my tray (a bit like ZA !)The problem we have is that we need to take a dll to extract icon (for instance: shell.32.dll)However, I wanted to create MY icons for my program so,... I found (after a long reserch) this tool : Iconjack32 found here: http://www.klitetools.com/comments.php?sho...25&catid=62 or the download link : iconjack32_1.0.zip It allows you to extract icon from DLL and from EXE files BUT you can also Export your icons to DLL. (freeware)By the way if you look for a nice icon designer program try IcoFX 1.5 (freeware)hope that help... EDIT: You can now use the AutoIt Wrapper and/or FileInstall(). I updated the links ! Edited January 9, 2009 by cramaboule My Autoit programs: MAC Address - - Delete Temp Files - - Ping Test - - Play Video with VLC full screen dual monitors - - Set IP - - Pics Converter - - AutoUpdater - - CPU Usage - - Ending Script Nicely - - GDI+ GUI crossfades (slide transitions) - - Beamer - - Search and Search in Files - - Silent Ninite Others: Export Icons into Dll - - My website Link to comment Share on other sites More sharing options...
_Kurt Posted March 18, 2007 Share Posted March 18, 2007 Thanks for the information on iconjack, this will be very helpful! Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
_Kurt Posted March 18, 2007 Share Posted March 18, 2007 (edited) My weakness is Dll's, I can't figure out how to "extract" the icon from the dll. If you're using shell32.dll, i know that this would work:GUICtrlCreateButton ("my picture button", 10,20,40,40, $BS_ICON) GUICtrlSetImage (-1, "shell32.dll",22)But, say I'd create a .dll with that program that contains "Icon.ico", how do I retrieve that icon?Thanks,KurtEDIT: Got it working, nevermind. Thanks for sharing!! Edited March 18, 2007 by _Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
PantZ4 Posted March 19, 2007 Share Posted March 19, 2007 Thanks *Bookmarked* Link to comment Share on other sites More sharing options...
smashly Posted March 19, 2007 Share Posted March 19, 2007 (edited) But doesn't reshacker offer the same, to export or import icons and other resources to and from ocx, cpl , dll, exe.. etc Reshacker has command line support and works via script commands to add, extract , edit, delete as well. No install required so it can work standalone. Edited March 19, 2007 by smashly Link to comment Share on other sites More sharing options...
Shides Posted March 19, 2007 Share Posted March 19, 2007 i use Axialis IconWorkshop this save the icon library in icl, but i rename it in dll and it's ok I'm a Italian a AutoIterMy scriptTxTediTor -->TxTediTor is a simple program similar notepad[center]Please vote me with five star ;)Antonio Caragliano for Nokia Nseries[/center] Link to comment Share on other sites More sharing options...
AcidCorps Posted September 13, 2007 Share Posted September 13, 2007 My weakness is Dll's, I can't figure out how to "extract" the icon from the dll. If you're using shell32.dll, i know that this would work: GUICtrlCreateButton ("my picture button", 10,20,40,40, $BS_ICON) GUICtrlSetImage (-1, "shell32.dll",22) But, say I'd create a .dll with that program that contains "Icon.ico", how do I retrieve that icon? Thanks, Kurt EDIT: Got it working, nevermind. Thanks for sharing!! I'm having the same problem, can someone explain this to me Link to comment Share on other sites More sharing options...
Diana (Cda) Posted August 3, 2008 Share Posted August 3, 2008 (edited) IconJack32 seems to no longer be available. I've been using a freeware for years called IconShop ( http://users.pandora.be/liontech/Downloads.htm ). I create ICL (icon libraries) with it. Once you drag and drop ICO files into the interface and then sort, you can save as an ICL file. Apparently, making a DLL with that is just a question of renaming to DLL.I couldn't get either the ICL or DLL to work with the syntax for displaying randomly the icons in shell32.dll (for which I've posted a query about here http://www.autoitscript.com/forum/index.php?showtopic=77475) but that may be a separate issue. What I do know is that the icon DLL file works when using as an icon source in a shortcut just like when you use the default shell32.dll and you select one of the available icons in the pack. The ICL renamed to DLL did the same thing perfectly this morning on a file I created just to test this with. So this method does work on DLLs one will use in that manner.Whether or not such DLLs will work with AutoIt is a separate issue but thought I'd respond to this thread with an available icon library editor/creator, IconShop. Edited August 3, 2008 by Diana (Cda) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now