473,657 Members | 2,395 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Version Numbering - auto increment

Hi!

In VB6 I could set an option, so that when the app was built, the version
number (minor) would autoincrement. It was also possible to access version
information via code to display in a splash-screen or similar.

I have searched for this option in Visual Studio, but have yet to find it.
And how can I access this information via code, if possible?

Thanks in advance!

Klaus
Nov 20 '05 #1
4 1883
Look in your AssemblyInfo.vb file, in which case at the bottom you'll see
versioning..

Remember .NET builds in a 4 part version rather than VB6's 3.

So you have
Major.Minor.Rev ision.Build

to get autoincrement.. you just use a wildcard.

i.e. 1.5.*.*

-CJ
"Klaus Jensen" <CurseThemNasty Spammers!> wrote in message
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
Hi!

In VB6 I could set an option, so that when the app was built, the version
number (minor) would autoincrement. It was also possible to access version
information via code to display in a splash-screen or similar.

I have searched for this option in Visual Studio, but have yet to find it.
And how can I access this information via code, if possible?

Thanks in advance!

Klaus

Nov 20 '05 #2
It would interesting to find out how to access the current version via code.
Is that possible?
I have been trying to figure out how to Auto Increment the version myself.

Steve
"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
Look in your AssemblyInfo.vb file, in which case at the bottom you'll see
versioning..

Remember .NET builds in a 4 part version rather than VB6's 3.

So you have
Major.Minor.Rev ision.Build

to get autoincrement.. you just use a wildcard.

i.e. 1.5.*.*

-CJ
"Klaus Jensen" <CurseThemNasty Spammers!> wrote in message
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
Hi!

In VB6 I could set an option, so that when the app was built, the version number (minor) would autoincrement. It was also possible to access version information via code to display in a splash-screen or similar.

I have searched for this option in Visual Studio, but have yet to find it. And how can I access this information via code, if possible?

Thanks in advance!

Klaus


Nov 20 '05 #3
Application.Pro ductVersion

"Steve" <sf*****@flinti nd-remove.com> wrote in message
news:uM******** ******@TK2MSFTN GP11.phx.gbl...
It would interesting to find out how to access the current version via code. Is that possible?
I have been trying to figure out how to Auto Increment the version myself.

Steve
"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
Look in your AssemblyInfo.vb file, in which case at the bottom you'll see
versioning..

Remember .NET builds in a 4 part version rather than VB6's 3.

So you have
Major.Minor.Rev ision.Build

to get autoincrement.. you just use a wildcard.

i.e. 1.5.*.*

-CJ
"Klaus Jensen" <CurseThemNasty Spammers!> wrote in message
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
Hi!

In VB6 I could set an option, so that when the app was built, the

version number (minor) would autoincrement. It was also possible to access version information via code to display in a splash-screen or similar.

I have searched for this option in Visual Studio, but have yet to find it. And how can I access this information via code, if possible?

Thanks in advance!

Klaus



Nov 20 '05 #4
Klaus,

* "Klaus Jensen" <CurseThemNasty Spammers!> scripsit:
In VB6 I could set an option, so that when the app was built, the version
number (minor) would autoincrement. It was also possible to access version
information via code to display in a splash-screen or similar.

I have searched for this option in Visual Studio, but have yet to find it.
And how can I access this information via code, if possible?


<http://groups.google.d e/groups?selm=bv5 sdb%24o3vvm%241 %40ID-208219.news.uni-berlin.de>

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

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

Similar topics

8
1821
by: Steven Burn | last post by:
I'm curious, I've written a very simple PIS (personal info store) that allows one to store whatever they wish..... the problem is, when one deletes an entry, the auto-numbering isn't corrected to account for said deletion..... for example; 1. entry 1 2. entry 2 3. entry 3 delete entry 2, and #2 is no longer available (i.e. 3 should become 2, 4,
5
1774
by: Grim Reaper | last post by:
I know this should be easy (I think), but I can not figure out how to do it. Basically, I have 4 tables (2 tables with 2 subordinate tables) that have an INQ_ID key that was created by using "Auto-increment". (What I mean by 4 tables is that I have 2 "Main" tables with a subordinate table tied to each of them.) Now, I have to merge these tables so that I only have 2 tables (the data
5
4604
by: Charles McCaffery | last post by:
I have written a database with auto-numbering and now wish to remove alkl of my test data and set the auto-numbering back to one. How do I do this please? Charles McCaffery.
2
12713
by: Tom | last post by:
I am trying to store information into a table that has an auto increment field. There is currently no data in the table. Using the code below I cannot insert data into the table. I get an error telling me that "Number of query values and destination fields are not the same." If I add a value for the auto increment field to the SQL String the data is entered into the table with no problems but obviously the auto increment field now...
3
2589
by: Chris | last post by:
Before I started to create table, etc to track unique form field record number assigments I thought I'd check to see if there is now a better way to do this in .NET. I have a parent form (table) and children form (table). Relationship equals one to many. I'd like to auto number the fields accordingly and traditionaly I assign a unique number based on a table value that I retrieve + 1. i.e. Parent record field value = 1 Children record...
4
1716
by: Nak | last post by:
Hi there, I have an application that uses plugins, what I would like to do is have a property of the plugin called "Version" that will return the current version of that assembly, the problem being that if I use "Application.ProductVersion" it uses the application object of the assembley that it is being used in. Is there a way to do this other than using System.Diagnostics.FileVersionInfo.GetVersionInfo(assembleypath).ProductVers ion
7
9364
by: Li Pang | last post by:
Hi I built an app of one .exe and several .dlls. I'd like to know how to force to change the version of dll everythime I rebuild the app Thank
8
2348
by: Malakie | last post by:
Hi all: Being that I am trying out VB.net for the first time finally, I am finding much has changed. But what should be one of the easiest things to do is somehow eluding me! Setting your project information such as copyright, trademark and version numbers is simple in VB6. Right click on the project and use the properties. But how do you do it in VS.Net 2003????? Right clicking and selecting properties gives me NO such options...
5
5109
by: vul | last post by:
In VB6 there is Auto Increment check box in Project Properties, which allow you have a new version every time you compile the project. Is there any easy way to have this feature in VB 2005? Some of my blocks of code check and compare versions of EXE and DLLs located on the local workstation and the server. So it's very important for me to have an incremented number in case the project was rebuilt. It can be done manually, of course, but I...
0
8395
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
8310
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
8826
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
8503
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
8605
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
7330
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
6166
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
4155
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
1955
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.