xmanfit0 Posted October 30, 2009 Share Posted October 30, 2009 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. Link to comment Share on other sites More sharing options...
Achilles Posted October 30, 2009 Share Posted October 30, 2009 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] 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