Jump to content
Sign in to follow this  
PartyPooper

How do I use #AutoIt3Wrapper_Res_File_Add=

Recommended Posts

As the topic title states, how do I use #AutoIt3Wrapper_Res_File_Add= to include an image in my compiled exe and display it using the GUICtrlCreatePic keyword?

I don't wish to use FileInstall() because I don't want to have to install the JPG picture on the users disk, nor do I wish to be forced to include Zedna's complicated resource.au3 for something as simple as displaying a JPG on a GUI.

I was hoping it would be as simple as the following but it didn't work:

#AutoIt3Wrapper_Res_File_Add=..\Pictures\myfantastic.jpg

...

GUICtrlCreatePic("", 10, 30)

GUICtrlSetImage(-1, @ScriptFullPath, "myfantastic.jpg")

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...