Dave,
I'm not sure about getting it when you set the version in your deployment
project, but this is how I get it if I set it in the <AssemblyVersion>
attribute in the AssemblyInfo file in the project:
-------------------------------
Imports System.Reflection
.......
With [Assembly].GetEntryAssembly.GetName
lblVersion.Text = "Version: " & .Version.ToString(2) & " (Build " &
..Version.Build.ToString & ")"
End With
-------------------------------
The above example gets the version of the *entry* assembly (the main program
that started your code).
HTH,
Trev.
"dave" <th*****@mailcity.com> wrote in message
news:f9**************************@posting.google.c om...
Hello
I would like to display the Version number of my application in the
About screen. I manually set this value in the Properties of my
deployment project. How can this value be accessed at runtime?
Thanks for any help!