how to tell application version

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how to tell application version after i installed it at client side?
i did make the version and product code while doing the packaging and deployment.
Thanks a lot.
 
Joanne

You mean something as this?

\\\
MessageBox.Show( _
System.Reflection.Assembly.GetExecutingAssembly( _
).GetName().Version.ToString())
'or
MessageBox.Show( _
System.Windows.Forms.Application.ProductVersion.ToString())
///

I hope this helps a little bit?
 
Sorry, Cor. I didn't make it clear. I don't wanna write any code to show the version.
I hope to see the version from the exe file in window explore or something like that.
Thanks for your response.
 
MessageBox.Show(

System.Reflection.Assembly.GetExecutingAssembly( ).GetName().Version.ToStrin
g())

ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha

;-)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
Ammend your AssemblyInfo.vb file , its in there, once you put the
information in when you hover over the dll or executable, it will pop up

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
* =?Utf-8?B?am9hbm5l?= said:
how to tell application version after i installed it at client side?
i did make the version and product code while doing the packaging and deployment.

You can change the version in your "AssemblyInfo.vb" file:

\\\
<Assembly: AssemblyVersion("1.0.*")>
///

My FAQ:

Basic information on versioning:

<URL:http://msdn.microsoft.com/library/en-us/dndotnet/html/managevers.asp>
<URL:http://msdn.microsoft.com/library/en-us/dnbda/html/tdlg_ch5.asp>
<URL:http://msdn.microsoft.com/library/en-us/cptutorials/html/versioning_components.asp>

Parts of the version number:

Main version
"Product" version.

Sub version
Sub version, for example Service Pack.

Build
During development, auto-increment.

Revision
Hotfix or Quick Fix Engineering (QFE).

When using auto incrementation of numbers, the build number contains the
number of days since January, 2000; the revision contains the number of
seconds since midnight divided by 2.

The version number can be changed in the file "AssemblyInfo.vb". The
version number will updated automatically when re-opening the solution.

Getting the program version number:

\\\
MsgBox( _
System.Reflection.Assembly.GetExecutingAssembly( _
).GetName().Version.ToString() _
)
///

- or -

\\\
MsgBox( _
System.Windows.Forms.Application.ProductVersion.ToString() _
)
///
 
Two Hours and Twelve Minutes - Why ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
Oh really, I would rather you answer it for me please !

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
Hi Terry,

Do you think that answer from Herfried answer this reply from the OP on the
Original Message which came 2 and a half hour before Herfrieds answer and
which you answered in my opinion correct so I did not answer it anymore?
Sorry, Cor. I didn't make it clear. I don't wanna write any code to show the version.
I hope to see the version from the exe file in window explore or something like that.
Thanks for your response.

I do not see how I have to use that for this, do you know that, maybe
Herfried can tell that, or am I to stuppid to see it?

Cor
 
I dont know, basically if she hovers the cursor in explorer over the DLL or
EXE file, it will give these properites to her ( some of them ) and if you
right click and choose properties and the Version Tab you get even more.

I just get a little frustrated with the the duplication.



--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
:-D

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
Back
Top