Jump to content
Sign in to follow this  

GUICtrlCreatePic + Compilation

Recommended Posts



i have created a picture in my GUI by using

GUICtrlCreatePic("background.jpg", 1, 1, 298, 33)

it works fine, just after i compile the script to .exe and move the .exe out of the directory where the background.jpg is and execute it, the background.jpg picture is no longer displayed on my GUI. i thought by compiling the script to an executeable the jpg would be integrated to the file.

is there any possibility to anchor the *.jpg into the source, so i don't need the *.jpg background file anymore in the same directory as the executeable?

sorry if i'm probably asking a very common question, but i didn't know what to search for on the forum to figure out my problem, all i found by searching for a solution was the koda gui creator, which i really like :)


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.