Jump to content

How to compile Image include in exe


Recommended Posts

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...