penggilas2 Posted November 13, 2009 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..??
99ojo Posted November 13, 2009 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
penggilas2 Posted November 13, 2009 Author 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..
Zedna Posted November 13, 2009 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
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