RobotStudio event

Get version info on FP

Options

Hello,

Can anyone tell me how I can get the version of my application in FP SDK? I would like to make an "about" window.

:) Regards,
Jan-Jaap

Comments

  • RussD
    Options
    Did you ever figure anything out how to do this? If so, I would be interested in knowing how you did it.
    Russell Drown
  • Hello Russ,

    No, I didn't. I was hoping someone at ABB could tell me.

    I now solved it by defining a string constant with a version and manually increase it when ever I make a major or minor improvement.

    :) Regards,
    Jan-Jaap
  • Hi
    Try this


    System.Reflection.Assembly _assembly = System.Reflection.Assembly.GetExecutingAssembly();
    System.Reflection.AssemblyName _name = _assembly.GetName();

    mylabel.Text = _name.Version.ToString();
    Per Svensson
    Company Specialist
    ABB Automation Technology Products