Jump to content
Sign in to follow this  

Including picture within .exe

Recommended Posts


Is there a way in Autoit to include a pciture within my .exe?

The situation is this. I have a GUI that has a picturebox on it. When I run the script with the photo in the same directory, it works fine. However, I want to distribute just the exe without any additional files. Is there a way to make that photo a part of the program. If I run the exe currently without the pic in the same directory, it just doesn't show up on the gui.

Thanks in advance!


Share this post

Link to post
Share on other sites

check attachment for example

your answer is

FileInstall ()

when u compile the script the resault will be an exe file that contains what ever files u put using FileInstall () Command



Edited by star2

[quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u]

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