473,509 Members | 8,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to tell application version

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
12 4109
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
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
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

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
* =?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
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
* "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
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
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
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
Terry,

Read my message again and now not serious?

Cor
Nov 20 '05 #12
:-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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2544
by: Ted Byers | last post by:
I have gotten to the point where attempting to run my application using "java -jar HotSpotImageTest.jar" no longer generates a complaint about not finding function main. It turned out that the...
2
8760
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding...
2
630
by: j.b.messina | last post by:
This has not yet been published by Microsoft. It will be published within the next few weeks, mainly because I asked them to. I felt this was information badly needed, and I think this is the...
1
997
by: sumit | last post by:
Hi, I have an application compiled in dotnet version 1.1 and now i am hostingt the application on a server having dotnet version 1.0 and 1.1 both,,when i run the application it takes version...
21
2144
by: Chris | last post by:
I'm trying to get an existing VS.NET project up on my Win2003 server and I get the following error (on the actual website page): "It is an error to use a section registered as...
7
1231
by: UJ | last post by:
Is there a way to tell when something was compiled? (I'm trying to find a way to keep track of what 'version' the web site is and can't find anything that only changes when it's recompiled.) TIA...
1
1547
by: Ronald S. Cook | last post by:
Performance in our WCF application is very poor now that we've added a number of records to tables (not an unrealistic number, though). After doing that, we did get "max message size" errors to I...
0
1834
by: Pheasant Plucker® | last post by:
Hi there, Not sure if this is the correct ng and I am not a programmer so excuse me but here goes...:-) We have a custom application that has a hook or calls either the Outlook calendar or...
3
2889
by: Magdoll | last post by:
I was trying to map various locations in a file to a dictionary. At first I read through the file using a for-loop, but tell() gave back weird results, so I switched to while, then it worked. ...
0
7237
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7416
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7073
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5656
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3218
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.