By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,962 Members | 1,776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,962 IT Pros & Developers. It's quick & easy.

how to tell application version

P: n/a
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.
Nov 20 '05 #1
Share this Question
Share on Google+
12 Replies


P: n/a
Joanne

You mean something as this?

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

I hope this helps a little bit?
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.

Nov 20 '05 #2

P: n/a
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.

"Cor Ligthert" wrote:
Joanne

You mean something as this?

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

I hope this helps a little bit?
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.


Nov 20 '05 #3

P: n/a
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

"joanne" <jo****@discussions.microsoft.com> wrote in message
news:99**********************************@microsof t.com...
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.

"Cor Ligthert" wrote:
Joanne

You mean something as this?

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

I hope this helps a little bit?
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.


Nov 20 '05 #4

P: n/a

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

"joanne" <jo****@discussions.microsoft.com> wrote in message
news:26**********************************@microsof t.com...
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.

Nov 20 '05 #5

P: n/a
* =?Utf-8?B?am9hbm5l?= <jo****@discussions.microsoft.com> scripsit:
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.To String() _
)
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6

P: n/a
Two Hours and Twelve Minutes - Why ?

--

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

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

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2l************@uni-berlin.de...
* =?Utf-8?B?am9hbm5l?= <jo****@discussions.microsoft.com> scripsit:
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...versioning_com
ponents.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.To String() _
)
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #7

P: n/a
* "One Handed Man \( OHM - Terry Burns \)" <news.microsoft.com> scripsit:
Two Hours and Twelve Minutes - Why ?


I think you can answer that question yourself.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #8

P: n/a
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

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2l************@uni-berlin.de...
* "One Handed Man \( OHM - Terry Burns \)" <news.microsoft.com> scripsit:
Two Hours and Twelve Minutes - Why ?


I think you can answer that question yourself.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #9

P: n/a
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


Nov 20 '05 #10

P: n/a
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

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:On**************@TK2MSFTNGP12.phx.gbl...
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

Nov 20 '05 #11

P: n/a
Terry,

Read my message again and now not serious?

Cor
Nov 20 '05 #12

P: n/a
:-D

--

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

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

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Terry,

Read my message again and now not serious?

Cor

Nov 20 '05 #13

This discussion thread is closed

Replies have been disabled for this discussion.