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

Home Posts Topics Members FAQ

Version Numbering

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 1,2,3,4 respectivly.

But

Debug.WriteLine (My.Application .Info.Version.M ajor.ToString)
Debug.WriteLine (My.Application .Info.Version.M inor.ToString)
Debug.WriteLine (My.Application .Info.Version.M ajorRevision.To String)
Debug.WriteLine (My.Application .Info.Version.M inorRevision.To String)

does not return the proper values.
Its as if its grabbing the values from somehwere else.

Im basically trying to throw some versions in a label to display them but
its not grabbing the version from the myporject settings. So where do I get
/ how do I get the settings i setup in there?

Anyideas ?
Miro
Jul 30 '07 #1
4 4133
On Jul 30, 6:21 pm, "Miro" <miron...@golde n.netwrote:
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 1,2,3,4 respectivly.

But

Debug.WriteLine (My.Application .Info.Version.M ajor.ToString)
Debug.WriteLine (My.Application .Info.Version.M inor.ToString)
Debug.WriteLine (My.Application .Info.Version.M ajorRevision.To String)
Debug.WriteLine (My.Application .Info.Version.M inorRevision.To String)

does not return the proper values.
Its as if its grabbing the values from somehwere else.

Im basically trying to throw some versions in a label to display them but
its not grabbing the version from the myporject settings. So where do I get
/ how do I get the settings i setup in there?

Anyideas ?

Miro
Hi Miro,
Is that done by selecting Project/Properties/Assembly Information..
and enter the assembly version numbers?
Jeff

Jul 31 '07 #2
No,

I go to my properties and then click on the "Publish Tab", and then there is
a Publish Version in the bottom.
Those dont seem to do anything but the "Publish now" executables.

Miro
"Hoop" <jc******@oshtr uck.comwrote in message
news:11******** *************@w 3g2000hsg.googl egroups.com...
On Jul 30, 6:21 pm, "Miro" <miron...@golde n.netwrote:
>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,
MinorRevisio n as 1,2,3,4 respectivly.

But

Debug.WriteLine (My.Application .Info.Version.M ajor.ToString)
Debug.WriteLine (My.Application .Info.Version.M inor.ToString)

Debug.WriteLin e(My.Applicatio n.Info.Version. MajorRevision.T oString)

Debug.WriteLin e(My.Applicatio n.Info.Version. MinorRevision.T oString)

does not return the proper values.
Its as if its grabbing the values from somehwere else.

Im basically trying to throw some versions in a label to display them but
its not grabbing the version from the myporject settings. So where do I
get
/ how do I get the settings i setup in there?

Anyideas ?

Miro

Hi Miro,
Is that done by selecting Project/Properties/Assembly Information..
and enter the assembly version numbers?
Jeff

Jul 31 '07 #3
On Jul 31, 8:14 am, "Miro" <miron...@golde n.netwrote:
No,

I go to my properties and then click on the "Publish Tab", and then there is
a Publish Version in the bottom.
Those dont seem to do anything but the "Publish now" executables.

Miro

"Hoop" <jcoll...@oshtr uck.comwrote in message

news:11******** *************@w 3g2000hsg.googl egroups.com...
On Jul 30, 6:21 pm, "Miro" <miron...@golde n.netwrote:
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 1,2,3,4 respectivly.
But
Debug.WriteLine (My.Application .Info.Version.M ajor.ToString)
Debug.WriteLine (My.Application .Info.Version.M inor.ToString)
Debug.WriteLine (My.Application .Info.Version.M ajorRevision.To String)
Debug.WriteLine (My.Application .Info.Version.M inorRevision.To String)
does not return the proper values.
Its as if its grabbing the values from somehwere else.
Im basically trying to throw some versions in a label to display them but
its not grabbing the version from the myporject settings. So where do I
get
/ how do I get the settings i setup in there?
Anyideas ?
Miro
Hi Miro,
Is that done by selecting Project/Properties/Assembly Information..
and enter the assembly version numbers?
Jeff- Hide quoted text -

- Show quoted text -
Hi,
I have a VB app were in the aboutbox I do this,

lblVersion.Text = "Version " & My.Application. Info.Version.Ma jor _
& "." &
My.Application. Info.Version.Mi nor _
& "." &
My.Application. Info.Version.Re vision

And I set those values like this,
right click on the project name in solution explorer, select
properties from the pop-up menu.
On the Application tab select Assembly Information.. and set the
version via the
Assembly Version.
And that works.
Jeff

Jul 31 '07 #4
Thanks,

I was adjusting the "Publish" version and I thougth that was the one used
everywhere.

Miro

"Hoop" <jc******@oshtr uck.comwrote in message
news:11******** **************@ q75g2000hsh.goo glegroups.com.. .
On Jul 31, 8:14 am, "Miro" <miron...@golde n.netwrote:
>No,

I go to my properties and then click on the "Publish Tab", and then there
is
a Publish Version in the bottom.
Those dont seem to do anything but the "Publish now" executables.

Miro

"Hoop" <jcoll...@oshtr uck.comwrote in message

news:11******* **************@ w3g2000hsg.goog legroups.com...
On Jul 30, 6:21 pm, "Miro" <miron...@golde n.netwrote:
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,
MinorRevisio n as 1,2,3,4 respectivly.
>But
> Debug.WriteLine (My.Application .Info.Version.M ajor.ToString)
Debug.WriteLine (My.Application .Info.Version.M inor.ToString)
>Debug.WriteLin e(My.Applicatio n.Info.Version. MajorRevision.T oString)
>Debug.WriteLin e(My.Applicatio n.Info.Version. MinorRevision.T oString)
>does not return the proper values.
Its as if its grabbing the values from somehwere else.
>Im basically trying to throw some versions in a label to display them
but
its not grabbing the version from the myporject settings. So where do
I
get
/ how do I get the settings i setup in there?
>Anyideas ?
>Miro
Hi Miro,
Is that done by selecting Project/Properties/Assembly Information..
and enter the assembly version numbers?
Jeff- Hide quoted text -

- Show quoted text -

Hi,
I have a VB app were in the aboutbox I do this,

lblVersion.Text = "Version " & My.Application. Info.Version.Ma jor _
& "." &
My.Application. Info.Version.Mi nor _
& "." &
My.Application. Info.Version.Re vision

And I set those values like this,
right click on the project name in solution explorer, select
properties from the pop-up menu.
On the Application tab select Assembly Information.. and set the
version via the
Assembly Version.
And that works.
Jeff

Aug 1 '07 #5

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

Similar topics

2
4026
by: Andy Glew | last post by:
I have long looked for (and occasionally posted questions to groups such as this about) a tool that can take a group of HTML pages (nowadays XHTML, or XML) and produce a nicely formatted printable documented, featuring. * pagination * section numbering * including Dewey decimal section numbering such as Section 1.2.3 for H3
32
5481
by: Bob | last post by:
Can anyone point me to a place where I can obtain the Microsoft C/C++ Optimizing Compiler Version 7.00. It was distributed about 10 years ago on floppy diskettes. I had a valid license but accidentally threw out the diskettes when I cleaned up once. Now I need to install it and I therefore am looking to replace the diskettes. Thanks.
2
1494
by: hans Christiaens via AccessMonster.com | last post by:
Has access the possibility to upgrade automaticly the version numbers. If not where can I do it?? -- Message posted via http://www.accessmonster.com
4
1721
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
4
1891
by: Klaus Jensen | last post by:
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!
0
1344
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 the best way assign version numbers for Subsystem and Components 2. Should Component number be related to Subsystem number? 3. Once Application released does it make sense to branch and label Subsystem and Components or assign next version...
5
2506
by: James Wong | last post by:
Hi, Can VB.Net change the next assembly version automatically when I compile the program? <Assembly: AssemblyVersion("1.0.0.1")> <Assembly: AssemblyFileVersion("1.0.0.1")> Thanks
15
3005
by: bg_ie | last post by:
Hi, I have the following class - class TestOutcomes: PASSED = 0 FAILED = 1 ABORTED = 2 plus the following code -
1
1139
by: Torben Laursen | last post by:
I have a C++ dll and I would like to get the compilor to auto generate a version number of the dll that it create just like the C# compiler does. Now I set a number in a .rc file but it would be nice if I could just set the first 2 number and the compiler could then add the rest like 2.1.3543 Can anyone tell me how to do this? I use VS2008 Torben
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...
0
10343
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
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
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...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.