GUI add Image/Picture hard code
Posted: 17 Mar 2018, 06:33
Hi,
I have the following code:
Which works as far as adding the image to the GUI.
However when I move the exe file away from the directory or delete the logo.png file it wont appear on the GUI.
Obviously it is referencing the file rather than hard coding it into the GUI.
Is there a way to hard code the image into the GUI?
Apologies if this has been asked or is a simple question. I cannot seem to find a solution.
Regards,
jmcall10
I have the following code:
Code: Select all
Gui, Add, Picture, x0 y0 h68 w453, logo.png
However when I move the exe file away from the directory or delete the logo.png file it wont appear on the GUI.
Obviously it is referencing the file rather than hard coding it into the GUI.
Is there a way to hard code the image into the GUI?
Apologies if this has been asked or is a simple question. I cannot seem to find a solution.
Regards,
jmcall10