.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 19th, 2003, 08:55 AM
SirX SirX is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 64 SirX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 30 sec
Reputation Power: 6
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?

Reply With Quote
  #2  
Old August 19th, 2003, 03:06 PM
Nem Nem is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 109 Nem User rank is Private First Class (20 - 50 Reputation Level)Nem User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
String *sVersion = Application::get_ProductVersion();

Reply With Quote
  #3  
Old August 20th, 2003, 01:13 AM
SirX SirX is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 64 SirX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 30 sec
Reputation Power: 6
But this version number is different to that in the Manifest! Where can I change the version number which your code gives out?

Reply With Quote
  #4  
Old August 20th, 2003, 03:41 PM
Nem Nem is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 109 Nem User rank is Private First Class (20 - 50 Reputation Level)Nem User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I think it's in the AssemblyInfo.cpp file which should be created with your project.

Reply With Quote
  #5  
Old August 21st, 2003, 02:32 AM
SirX SirX is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 64 SirX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 30 sec
Reputation Power: 6
If you have an VERSION_INFO-Ressource you can use this to get Version-Infos:
Code:
label1->Text=this->ProductName;

label2->Text=this->ProductVersion;

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > show manifest version at runtime (vc++ .net)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT