system32 Posted February 28, 2012 Share Posted February 28, 2012 hi to all plez I want to program Change icon files .exe Programmer AutoIt and how do thes !!! liek thes : expandcollapse popup#cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.6.1 Author: change file icon Script Function: By System32 #ce ---------------------------------------------------------------------------- #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("change file icon", 332, 101, 192, 124) $Input =GUICtrlCreateInput("", 8, 8, 233, 21) $Button1 = GUICtrlCreateButton("Choose file", 248, 8, 67, 25) $Button2 = GUICtrlCreateButton("change icon", 8, 48, 99, 41) $Button3 = GUICtrlCreateButton("Exit", 224, 48, 99, 41) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 $message = "Choose the file" $message1 = "Choose the ico" $var = FileOpenDialog($message, @DesktopDir & "\","exe FILE (*.exe)", 1 ,"") If @error Then MsgBox(16,"change file icon","Erorr") Else If $var <> "" Then $g = GUICtrlSetData($Input, $var) Else EndIf EndIf Case $Button2 $var = FileOpenDialog($message1, @DesktopDir & "\","ico FILE (*.ico)", 1 ,"") If @error Then MsgBox(16,"change file icon","Erorr") Else If $var <> "" Then ; What is the code to change the icon files in order to put it here Else EndIf EndIf Case $Button3 Exit EndSwitch WEnd pleeeeeeeeeez Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 28, 2012 Moderators Share Posted February 28, 2012 system32,You have already asked this question here. What makes you think you will get any different answers this time? And I see you have made a lot of progress with your own research into this - you have changed "file" to "FILE" in the new script. Did you even try the code that was posted last time? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
system32 Posted February 28, 2012 Author Share Posted February 28, 2012 Yes, but did not help me one Please, gave me a service I want this program is very necessary 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