#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    64
    Rep Power
    12

    show manifest version at runtime (vc++ .net)


    Is there a way to show the version of the manifest(my program) at runtime? I know that .net saves this number in the exe-file so how can I get it out of there?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    109
    Rep Power
    12
    String *sVersion = Application::get_ProductVersion();
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    64
    Rep Power
    12
    But this version number is different to that in the Manifest! Where can I change the version number which your code gives out?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    109
    Rep Power
    12
    I think it's in the AssemblyInfo.cpp file which should be created with your project.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    64
    Rep Power
    12
    If you have an VERSION_INFO-Ressource you can use this to get Version-Infos:
    Code:
    label1->Text=this->ProductName;
    
    label2->Text=this->ProductVersion;

IMN logo majestic logo threadwatch logo seochat tools logo