haggard 0 Posted August 13, 2010 (edited) Hello How can i add image to my gui with out using Local/Global. I want to save this image to .exe compiled script and when I start bot i will see my image loaded from .exe $Pic1 = GUICtrlCreatePic(@ScriptDir&"\logo.png", 160, 0, 300, 100) dont work Image have transparent background Edited August 13, 2010 by haggard Share this post Link to post Share on other sites
Richard Robertson 187 Posted August 13, 2010 If Not FileExist(@ScriptDir & "\logo.gif") Then FileInstall("C:\Users\haggard\Documents\AutoItScripts\MyProgram\logo.gif", @ScriptDir & "\") $Pic1 = GUICtrlCreatePic(@ScriptDir & "\logo.gif", 160, 0, 300, 100) Obviously you need to specify the actual path in the FileInstall. I just made up something. Share this post Link to post Share on other sites
haggard 0 Posted August 13, 2010 OK, ok what about .png with transparent background. Is any easy way to install that? Share this post Link to post Share on other sites
Richard Robertson 187 Posted August 13, 2010 (edited) FileInstall will work with any file format. It doesn't care. Edited August 13, 2010 by Richard Robertson Share this post Link to post Share on other sites
haggard 0 Posted August 13, 2010 Ok, thanks i will try it. Share this post Link to post Share on other sites
playlet 11 Posted August 13, 2010 (edited) --- Edited August 18, 2016 by playlet Share this post Link to post Share on other sites