Jump to content
Sign in to follow this  
penggilas2

How to compile Image include in exe

Recommended Posts

penggilas2

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..??

Share this post


Link to post
Share on other sites
99ojo

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

Share this post


Link to post
Share on other sites
penggilas2

Hi,

have a look in helpfile for function FileInstall.

;-))

Stefan

I will read and learn, if I do not understand I will go back to this forum again.. Thank`s.. 99Ojo..

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×