penggilas2 Posted November 13, 2009 Share Posted November 13, 2009 When compile this script.. #include <GUIConstantsEx.au3> Local $gui, $font, $background, $msg $gui = GUICreate("About Me", 339, 450) GUISetBkColor(0xE0FFFF) $font = "Comic Sans MS" GUICtrlCreateLabel("Just For Me", 55, 10, 300, 20) GUICtrlSetFont(-1, 9, 400, 4, $font) GUICtrlSetColor(-1, 0xff0000) ; Red ; background picture $background = GUICtrlCreatePic("mypicture.jpg", 0, 39, 0, 0) GUISetState() ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd How to compile mypicture.jpg include in exe file..?? Link to comment Share on other sites More sharing options...
99ojo Posted November 13, 2009 Share Posted November 13, 2009 When compile this script..#include <GUIConstantsEx.au3>Local $gui, $font, $background, $msg $gui = GUICreate("About Me", 339, 450) GUISetBkColor(0xE0FFFF) $font = "Comic Sans MS" GUICtrlCreateLabel("Just For Me", 55, 10, 300, 20) GUICtrlSetFont(-1, 9, 400, 4, $font) GUICtrlSetColor(-1, 0xff0000) ; Red ; background picture $background = GUICtrlCreatePic("mypicture.jpg", 0, 39, 0, 0) GUISetState() ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd How to compile mypicture.jpg include in exe file..??Hi,have a look in helpfile for function FileInstall.;-))Stefan Link to comment Share on other sites More sharing options...
penggilas2 Posted November 13, 2009 Author Share Posted November 13, 2009 Hi,have a look in helpfile for function FileInstall.;-))StefanI will read and learn, if I do not understand I will go back to this forum again.. Thank`s.. 99Ojo.. Link to comment Share on other sites More sharing options...
Zedna Posted November 13, 2009 Share Posted November 13, 2009 You may also look at my Resource UDFhttp://www.autoitscript.com/forum/index.php?showtopic=51103 Resources UDF ResourcesEx UDF AutoIt Forum Search 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