473,765 Members | 1,977 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 4130
Joanne

You mean something as this?

\\\
MessageBox.Show ( _
System.Reflecti on.Assembly.Get ExecutingAssemb ly( _
).GetName().Ver sion.ToString() )
'or
MessageBox.Show ( _
System.Windows. Forms.Applicati on.ProductVersi on.ToString())
///

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.Reflecti on.Assembly.Get ExecutingAssemb ly( _
).GetName().Ver sion.ToString() )
'or
MessageBox.Show ( _
System.Windows. Forms.Applicati on.ProductVersi on.ToString())
///

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****@discuss ions.microsoft. com> wrote in message
news:99******** *************** ***********@mic rosoft.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.Reflecti on.Assembly.Get ExecutingAssemb ly( _
).GetName().Ver sion.ToString() )
'or
MessageBox.Show ( _
System.Windows. Forms.Applicati on.ProductVersi on.ToString())
///

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.Reflecti on.Assembly.Get ExecutingAssemb ly( ).GetName().Ver sion.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****@discuss ions.microsoft. com> wrote in message
news:26******** *************** ***********@mic rosoft.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****@discuss ions.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.v b" 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_comp onents.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.v b". The
version number will updated automatically when re-opening the solution.

Getting the program version number:

\\\
MsgBox( _
System.Reflecti on.Assembly.Get ExecutingAssemb ly( _
).GetName().Ver sion.ToString() _
)
///

- or -

\\\
MsgBox( _
System.Windows. Forms.Applicati on.ProductVersi on.ToString() _
)
///

--
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****@discuss ions.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.v b" 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.v b". The
version number will updated automatically when re-opening the solution.

Getting the program version number:

\\\
MsgBox( _
System.Reflecti on.Assembly.Get ExecutingAssemb ly( _
).GetName().Ver sion.ToString() _
)
///

- or -

\\\
MsgBox( _
System.Windows. Forms.Applicati on.ProductVersi on.ToString() _
)
///

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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2558
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 problem was that there was a package statement as the first line of the code generated by Borland's JBuilder IDE. Yes, I used JBuidler's form designer to create it. I don't normally worry about adding "package" to code I write, and didn't much care...
2
8808
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 configuration every time there is an update to a shared assembly.
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 best group to share this information. A co-worker and I were able to determine how to tell exactly what version of .NET Framework is installed. We had to do this because we had to manually deploy the MS05-004 Security Bulletin to thousands of...
1
1006
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 1.0 and hence not working,, Please suggest me how to point that application to understand the version 1.1 explicitly,,,
21
2176
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 allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS." I've been told by the previous developer that the website needs to be set as a "application". I...
7
1242
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 - Jeff.
1
1560
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 bumped that number to 99999999 (see below). Can anyone please tell me if (1) my config files below look ok, and (2) you have any other ideas why things might be so slow? Thanks VERY much for any feedback, Ron
0
1847
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 looks in the Inbox for a specific email and acts upon it if found. This has worked great for over a year but when I updated using the usual
3
2906
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. The for-loop version was something like: d = {} for line in f: if line.startswith('>'): d = f.tell() And the while version was:
0
9568
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10007
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9957
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9835
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8832
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7379
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5276
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.