473,804 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

product version

Hi all

I use: me.caption =Application.Pr oductVersion() (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 2091
On Jan 7, 10:07 am, Guy Cohen <GuyCo...@discu ssions.microsof t.com>
wrote:
Hi all

I use: me.caption =Application.Pr oductVersion() (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.To String
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

"kimiraikko nen" wrote:
On Jan 7, 10:07 am, Guy Cohen <GuyCo...@discu ssions.microsof t.com>
wrote:
Hi all

I use: me.caption =Application.Pr oductVersion() (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.To String
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
2353
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 contained before: server1:/usr/lib/zope/lib/python/Products# ls ExternalMethod PageTemplates StandardCacheManagers ZSQLMethods Hotfix_2002-06-14 PluginIndexes TemporaryFolder ZopeTutorial
0
1394
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, Special Upgrade for for version 2002 customers. I had to replace the hard drive on my laptop, and when reinstalling VS Enterprise Architect 2003 it would not accept the Product Key as being
1
485
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 Files\System\ado\msado15.dll I get 2.70.9001.0 for both the File and Product versions. When I look at some Custom and Third Party COM I get mixed results: 1.01.0001 for Product, 1.1.0.1 for File version.
0
330
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, Excel, PowerPoint and Outlook; Also Adds An Additional Feature for Forensics
0
2000
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, MD (May 24, 2005) dtSearch Corp., a leading supplier of enterprise, end-user and developer text retrieval software, announces Version 7 of its product line. The product line can now instantly search terabytes of text across a desktop, network,...
1
3800
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 administrator rights then it works, if we create a new administrator user then it does NOT work, Here is the MSI log, please help as this is causing problems as only 3 users on this box are able to run MSI where are about 15 other users
8
1802
by: John | last post by:
Hi How can I change the product version number that is returned by Application.ProductVersion? Thanks Regards
1
1382
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 solution) I want to install. As a result my newer version does not identify the older version because the product code is different (so it doesn't uninstall it first). What I'd like to do is setup a Launch Condition that first uninstalls my prior...
4
1828
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 told to go to Add/Remove Programs and uninstall the old version first. This did not happen when I was using Visual Studio 2003. What changed, and how can I get the original behavior back? I would like for later builds of the same version to...
0
2105
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 software, this announcement will be of interest to you - particularly our Shareware and Search Engine Profile Exchanges - Even our Clarion 3rd Party Profile Exchange displays over 60 NON-Clarion products of interest to Developers including...
0
9712
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
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10595
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10341
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
10089
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
9171
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
7634
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
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.