Jump to content

[Solved] Include icon in form problem


Hest
 Share

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!
Link to comment
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
 Share

  • Recently Browsing   0 members

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