473,403 Members | 2,366 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,403 software developers and data experts.

Version info

I seem to remember that there is a way to set the build number to increment
everytime that a project is compiled. I cannot seem to find that option at
this point. Also, i am building an about page and I would like to fill in
this information at compile time (basically use the project variable), but I
am not sure what class to use. Any help you could give would be greatly
appreciated.

--

Thanks,

Jeremy Ames
Code Powered Technologies
Nov 17 '05 #1
1 959
Jeremy,
There are four parts in the version number that VS.net is using. The patern
is:
aaa.bbb.ccc.ddd
ccc and ddd parts are automatically increased each time you build your
solution.
aaa and bbb are set by you. You can go to your AssemblyInfo.cs of a project
to find this information.

To use this number in a project just call:
System.Windows.Forms.Application.ProductVersion

HTH,
Tu.
"Jeremy Ames" <je****@code-tech.net> wrote in message
news:OF**************@tk2msftngp13.phx.gbl...
I seem to remember that there is a way to set the build number to increment everytime that a project is compiled. I cannot seem to find that option at
this point. Also, i am building an about page and I would like to fill in
this information at compile time (basically use the project variable), but I am not sure what class to use. Any help you could give would be greatly
appreciated.

--

Thanks,

Jeremy Ames
Code Powered Technologies

Nov 17 '05 #2

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

Similar topics

5
by: Lee Alexander | last post by:
hi, Perhaps someone can help me. I am trying to serialize an object but the serialization isn't working. I have created a small console app to show my problem. Perhaps someone with more...
1
by: José Joye | last post by:
I have created a VC project (which will create a DLL). It is using managed extension. It also has a ConfigData.cpp. In that file I have the following: ; However, it does not write any version...
11
by: Dennis C. Drumm | last post by:
I am trying to find a way to compare the version of the currently executing assembly to the version of my latest upload so I can notify the user when a newer version is available. Is it possible...
6
by: Boris | last post by:
I have taken over a project which when compiled creates a DLL which has no version info tab. When you do a right-click with your mouse on the DLL file there is no version info. I checked some other...
10
by: Mike Logan | last post by:
I am using the "contract first" design methodology. Contract First is design the WSDL first then design the server and client. However I must design my XSD/XML Schema before anything. I am...
5
by: Frank Swarbrick | last post by:
Has anyone come upon this problem? My DB2/LUW 9.1 database seems to be both "started and not started". Check out the following: C:\Program Files\IBM\SQLLIB\BIN>db2 connect to sample SQL1032N ...
4
by: Miro | last post by:
Sorry for all the posts today. Just not been a good day. I cant seem to figure out version numbering. I click on the MyProject and set up the Major, Minor, MajorRevision, MinorRevision as ...
2
by: =?Utf-8?B?R3V5IENvaGVu?= | last post by:
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....
2
by: =?Utf-8?B?Unlhbg==?= | last post by:
I am using vb.net to launch an external application (.exe); how do I capture this external applications's version number in my vb.net app?
4
by: =?Utf-8?B?anBzaG9ydHN0dWZm?= | last post by:
Hi, not sure if this is the right place for this but it was definitely the closest I could find. I am having trouble with the GetFileVersionInformation/VerQueryValue functions and was wondering...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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...
0
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...
0
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...

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.