Sign in to follow this  
Followers 0
xmanfit0

Include an image in the script?

2 posts in this topic

So I've made a simple GUI. In the GUI I've put a picture. This is the line of code:

GUICtrlCreatePic("picture.jpg", 0, 0, 681, 113)

So it works fine, the picture comes up. However, it will only appear if the picture is present in the folder of the .exe. How can I make it so that the picture is in the program and not dependent on the image file being in the same folder?

Dunno if this should be in GUI help, but this seems simple enough. Any help would be appreciated. Thanks.

Share this post


Link to post
Share on other sites



Look at the FileInstall function in the helpfile. It basically packages external files into your compiled .exe and then installs them onto whatever computer runs your program. Welcome to the AutoIt forums!


My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

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  
Followers 0