phew Posted August 4, 2007 Share Posted August 4, 2007 hi, 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 greetings Link to comment Share on other sites More sharing options...
Developers Jos Posted August 4, 2007 Developers Share Posted August 4, 2007 Use FileInstall() to include the jpg in your script.... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
phew Posted August 4, 2007 Author Share Posted August 4, 2007 thank you very much, working 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