[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Putting the Version in the Title Bar

Posted on 2005-04-21
1
Medium Priority
?
259 Views
Last Modified: 2010-05-18
How can I put the Version in the Title Bar using VB.NET.  I was doing this in VB6, but now I am converting to VB.NET and I cannot do this anymore.  Any ideas?

VB6 Code:

    frm_AddPVar.Caption = "Add Parent Variable - " & "Version " & App.Major & "." & App.Minor & "." & App.Revision

Thanks.
0
Comment
Question by:tobey1
1 Comment
 
LVL 37

Accepted Solution

by:
gregoryyoung earned 200 total points
ID: 13838046
Imports System.Reflection.Assembly

Dim version As Version = GetExecutingAssembly.GetName.Version

version will contain major minor etc.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question