Jump to content

Recommended Posts

Posted (edited)

If I use this command:

Global $idLogoConect  = GUICtrlCreatePic("vetor.gif", 60, 5, 291, 96)

I have to have the pic on the same folder of the .exe. How can I use the image when I compile the .exe? Do I need to always have the image on the same folder of the .exe? Is there a way to compile the image together so I don't need the .gif file to show it?

@Solved   

Actually, it's simple, the command I needed was: FileInstall

FileInstall("vetor.gif", @TempDir & "\vetor.gif", 1)
Global $idLogoConect  = GUICtrlCreatePic(@TempDir & "\vetor.gif", 60, 5, 291, 96)

 

Edited by Edie

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...