473,322 Members | 1,496 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes and contribute your articles to a community of 473,322 developers and data experts.

Set and Get Version numbers

1
I have found a way to set the My.Application.Info.Version property successfully in VB.NET using Microsoft Visual Basic 2010 Express.

Navigate to your Projects Properties. (I do this by going to View > [projectname] Properties...) Then make sure you have the "Application" tab selected. Click on the button "Assembly Information". In here you can set the "Assembly version:" fields. They can then be referenced in your application by calling [COLOR="Green"]My.Application.Info.Version[/COLOR]. This number will not auto-increment, you will have to change it manually.

The numbers seen in [projectname] Properties > Publish tab > Publish Version are always ignored.
Feb 1 '12 #1
0 7121

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Peter | last post by:
I've just completed my first (useful) VB6 project & created an exe file. On of the options was creating a version number - fine but how does my program get at this to display it? I also posted a...
2
by: Supa Hoopsa | last post by:
In my windows application, my project has references to many DLL's. What I want to do is create an "about" form with a version info button. On clicking this button, the user will be able to view...
0
by: Anders W. Pedersen | last post by:
Hi there! I'm working on a medium-sized .NET web application written in c#. We are using Visual Studio 2003 for development and Visual Source Safe as our code repository. Occasionally, we do a...
6
by: Christian Blackburn | last post by:
Hi Gang, I would like to be able to control the versioning of my application can somebody tell me where I can set that? Thanks in Advance, Christian Blackburn
0
by: Jul | last post by:
Hi, We are trying to optimize version numbering. Our application has System and components for System, I need to find info for Best practices of Version management for Application. 1. What is...
1
by: Geraldine Hobley | last post by:
Hello, I would like to know how I can get all the version numbers of each assembly in the a solution programmatically and display them in a form. Any help would be greatfully recieved. Geri
1
by: theWizard1 | last post by:
Using Asp.NET 2.0. I published my web application to the server using the publish to website feature of asp.net 2.0. In VS.Net 2005 IDE, on solution explorer, at top level just below solution, I...
3
by: Johnny Jörgensen | last post by:
Just a quick question: The Visual Studio version number for VS6 is 6.0 and I can see in my Registry editor that the version number for Visual Studio 2005 is 8.0. Can I safely assume that the...
2
by: Birky | last post by:
Can someone point me in the right direction on how to use Version Numbers within Access? I have a database were its primary goal is to track the versions of several projects. Since the version...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.