Jump to content
Sign in to follow this  

[Solved] Include icon in form problem

Recommended Posts


I have made an icon in my form

$Icon1 = GUICtrlCreateIcon("Model Train Calculator.exe", 0, 312, 56, 32, 32, BitOR($SS_NOTIFY,$WS_GROUP))

And it's working atm. but if the name of the program is changed (for whatever reason people would do that) the icon can not be shown because the filename for the icon doesn't exist anymore.

Are there any variable that can tell me the name of the program.. Something like $PROGRAM_NAME instead of "Model Train Calculator.exe"

Edited by Hest

Software:Model Train Calculator (Screen)Autoit3 beginner!

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.