PcExpert Posted September 16, 2006 Share Posted September 16, 2006 Hello, Is it possible to use an icon from shell32.dll for my program? If yes, how? Thanks! Link to comment Share on other sites More sharing options...
BigDod Posted September 16, 2006 Share Posted September 16, 2006 Yes #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("AForm1", 633, 447, 193, 115) GUISetIcon("C:\WINDOWS\system32\shell32.dll", 17) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
PcExpert Posted September 16, 2006 Author Share Posted September 16, 2006 Sorry, but that's not what I mean (sorry if I explained it the wrong way) What is: If you compile your script with options you can choose a custom icon. But how to choose one from shell32.dll? Link to comment Share on other sites More sharing options...
GaryFrost Posted September 16, 2006 Share Posted September 16, 2006 Sorry, but that's not what I mean (sorry if I explained it the wrong way) What is: If you compile your script with options you can choose a custom icon. But how to choose one from shell32.dll?not that I know of SciTE for AutoItDirections for Submitting Standard UDFs  Don't argue with an idiot; people watching may not be able to tell the difference.  Link to comment Share on other sites More sharing options...
PcExpert Posted September 16, 2006 Author Share Posted September 16, 2006 OK, thanks! Is there a way to get those icons in ico format? Link to comment Share on other sites More sharing options...
GaryFrost Posted September 16, 2006 Share Posted September 16, 2006 OK, thanks! Is there a way to get those icons in ico format?google for icon extract, should find plenty. SciTE for AutoItDirections for Submitting Standard UDFs  Don't argue with an idiot; people watching may not be able to tell the difference.  Link to comment Share on other sites More sharing options...
BigDod Posted September 16, 2006 Share Posted September 16, 2006 OK, thanks! Is there a way to get those icons in ico format?Use This program Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 16, 2006 Moderators Share Posted September 16, 2006 Resource Hacker wouldn't do it and just save it to a different location? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
PcExpert Posted September 16, 2006 Author Share Posted September 16, 2006 Thanks all, it worked! 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