473,396 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

product version

Hi all

I use: me.caption =Application.ProductVersion() (vb 2005)
to present the version of the product.
It always show 1.0.0.0
I googled some and found that I have to edit assemblyinfo.vb
1. When I add it to the project - I have compilation errors.
2. When I did that - it did not help...
3. Do I really have to edit it and not use the gui to change the revision ?

TIA
Guy Cohen
Jan 7 '08 #1
2 2072
On Jan 7, 10:07 am, Guy Cohen <GuyCo...@discussions.microsoft.com>
wrote:
Hi all

I use: me.caption =Application.ProductVersion() (vb 2005)
to present the version of the product.
It always show 1.0.0.0
I googled some and found that I have to edit assemblyinfo.vb
1. When I add it to the project - I have compilation errors.
2. When I did that - it did not help...
3. Do I really have to edit it and not use the gui to change the revision ?

TIA
Guy Cohen
I think accessing version info under your app brings you straight
ahead to the version info which is located in assembly info:

Right click your app -properties ->application -assembly info ->
info.

You can access via:

My.Application.Info.Version.ToString
Hope this helps.
Jan 7 '08 #2
Exactly it...

Now other will be able to google your solution :)
Right click your app -properties ->application -assembly info -info.

Thanks a lot
Guy Cohen

"kimiraikkonen" wrote:
On Jan 7, 10:07 am, Guy Cohen <GuyCo...@discussions.microsoft.com>
wrote:
Hi all

I use: me.caption =Application.ProductVersion() (vb 2005)
to present the version of the product.
It always show 1.0.0.0
I googled some and found that I have to edit assemblyinfo.vb
1. When I add it to the project - I have compilation errors.
2. When I did that - it did not help...
3. Do I really have to edit it and not use the gui to change the revision ?

TIA
Guy Cohen

I think accessing version info under your app brings you straight
ahead to the version info which is located in assembly info:

Right click your app -properties ->application -assembly info ->
info.

You can access via:

My.Application.Info.Version.ToString
Hope this helps.
Jan 7 '08 #3

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

Similar topics

4
by: Jochen Demuth | last post by:
Hi, I am trying to install ZWiki on Zope 2.5.1 / Debian 2.4.20-bf2.4-xfs. First I copied the contents of the ZWiki-0.32.0.tgz to the Products-directory under SOFTWARE_HOME: This is what it...
0
by: Bob Lehmann | last post by:
Hi, I posted this in the vstudio.setup group 2 days ago without an answer so far. Sorry about the OT, but I thought someone here may be able to help. Visual Studio Enterprise Architect 2003,...
1
by: Keith | last post by:
I am using the FileVersionInfo class and want to know which is most commonly accepted: the File version or the Product version? When I use the UI to look at \\myServer\Program Files\Common...
0
by: dtsearch | last post by:
Press Contact: Belinda Banks S&S Public Relations (212) 946-2823 Belinda@sspr.com Announcing New dtSearch® Product Line Version Release Enhances Indexing, Searching and Display of MS Word,...
0
by: dtsearch | last post by:
Announcing dtSearch® Product Line Release With New Terabyte Indexer New Version Can Index Over a Terabyte of Text in a Single Index, With Indexed Search Time Typically Under a Second BETHESDA,...
1
by: BuddyWork | last post by:
Hello, When a particular user (has administrator rights) on a Windows 2000 Server SP4 tries to run any MSI's we get the message mentioned in the subject. If we logon with another user that has...
8
by: John | last post by:
Hi How can I change the product version number that is returned by Application.ProductVersion? Thanks Regards
1
by: Rob R. Ainscough | last post by:
I have an older application that was installed via msi approach (setup via InstallShield), however, it has a different product code than the new version (setup via Deployment Project in a VS 2005...
4
by: Michael A. Covington | last post by:
I have a software product which I deploy as an .msi package generated with Visual Studio 2005. After I rebuild it for a minor change, I cannot install the new .msi over the old one. Instead I'm...
0
by: David Troxell - Encourager Software | last post by:
Product Scope 7 (http://www.encouragersoftware.com/) and Profile Exchanges enhanced with SetupCast publishing methods NOTE: If you are a software author, releasing commercial and/or shareware...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...

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.