473,387 Members | 1,603 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,387 software developers and data experts.

Make exe & version numbers

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 question re the form layout window on 12/03/05 but no
replies yet - any ideas ...

many thanks in advance
--
Peter
To err is human but it takes a computer to really mess things up!
Jul 17 '05 #1
5 13372
> 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 question re the form layout window on 12/03/05 but no
replies yet - any ideas ...


The three fields are available, by name, via the App object. For
example,

Debug.Print App.Major, App.Minor, App.Revision

Rick - MVP

Jul 17 '05 #2
Adding to Rick's post.

The version numbers in a VB application are in the format of;
Major.Minor.0.Revision

If you want to adjust the 3rd value then you will need a tool like vbAdvance
(http://www.vbadvance.com/)

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--
Read. Decide. Sign the petition to Microsoft.
http://classicvb.org/petition/
"Peter" <ga*****@SPAMblueyonder.co.uk> wrote in message
news:gx*******************@fe2.news.blueyonder.co. uk...
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 question re the form layout window on 12/03/05 but no
replies yet - any ideas ...

many thanks in advance
--
Peter
To err is human but it takes a computer to really mess things up!

Jul 17 '05 #3
Many thanks - the help file on using Make an exe file does not bother to
mention this.
No ideas on my form layout problem I guess
--
Peter
To err is human but it takes a computer to really mess things up!

"Veign" <me@home.com> wrote in message
news:K9***************@newsread3.news.atl.earthlin k.net...
Adding to Rick's post.

The version numbers in a VB application are in the format of;
Major.Minor.0.Revision

If you want to adjust the 3rd value then you will need a tool like
vbAdvance
(http://www.vbadvance.com/)

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--
Read. Decide. Sign the petition to Microsoft.
http://classicvb.org/petition/
"Peter" <ga*****@SPAMblueyonder.co.uk> wrote in message
news:gx*******************@fe2.news.blueyonder.co. uk...
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 question re the form layout window on 12/03/05 but no
replies yet - any ideas ...

many thanks in advance
--
Peter
To err is human but it takes a computer to really mess things up!


Jul 17 '05 #4
Didn't read it - will take a look now..

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--
Read. Decide. Sign the petition to Microsoft.
http://classicvb.org/petition/
"Peter" <ga*****@SPAMblueyonder.co.uk> wrote in message
news:jf*******************@fe2.news.blueyonder.co. uk...
Many thanks - the help file on using Make an exe file does not bother to
mention this.
No ideas on my form layout problem I guess
--
Peter
To err is human but it takes a computer to really mess things up!

"Veign" <me@home.com> wrote in message
news:K9***************@newsread3.news.atl.earthlin k.net...
Adding to Rick's post.

The version numbers in a VB application are in the format of;
Major.Minor.0.Revision

If you want to adjust the 3rd value then you will need a tool like
vbAdvance
(http://www.vbadvance.com/)

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--
Read. Decide. Sign the petition to Microsoft.
http://classicvb.org/petition/
"Peter" <ga*****@SPAMblueyonder.co.uk> wrote in message
news:gx*******************@fe2.news.blueyonder.co. uk...
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 question re the form layout window on 12/03/05 but no
replies yet - any ideas ...

many thanks in advance
--
Peter
To err is human but it takes a computer to really mess things up!



Jul 17 '05 #5

"Peter" <ga*****@SPAMblueyonder.co.uk> wrote in message
news:jf*******************@fe2.news.blueyonder.co. uk...
Many thanks - the help file on using Make an exe file does not bother to
mention this.


The version does also show up if you build the .exe file, then right click on
the .exe file and select properties. It will appear in the Version tab.
Jul 17 '05 #6

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

Similar topics

19
by: rbt | last post by:
Here's the scenario: You have many hundred gigabytes of data... possible even a terabyte or two. Within this data, you have private, sensitive information (US social security numbers) about your...
0
by: dohnut | last post by:
Here's one for some bored problem solver :) I ran across this earlier today and fixed it, but don't exactly know why. (that usually only happens in C :) I'm using Perl version 5.8.0 btw. ...
9
by: Collin VanDyck | last post by:
I have a basic understanding of this, so forgive me if I am overly simplistic in my explanation of my problem.. I am trying to get a Java/Xalan transform to pass through a numeric character...
4
by: John Bowman | last post by:
Hi, A couple Q's , so I've come to the experts<g>. 1) I need a definitive answer to the following debate. I've got a couple developers who disagree on the following question. We've got an XML...
27
by: Daniel Vallstrom | last post by:
I'm having problems with inconsistent floating point behavior resulting in e.g. assert( x > 0.0 && putchar('\n') && x == 0.0 ); holding. (Actually, my problem is the dual one where I get...
15
by: Ralph A. Moeritz | last post by:
Hello, does anyone have a clue when/if we might see K&R3? K&R2 is starting to feel a little dusty... Can anyone recommend any other good printed reference material? Regards, Ralph
6
by: Frank V. | last post by:
Hello, I'm new to VB.net, moving from VB6 to VB.net. My question is "In VB.net what is the equivalent of the App.major (and others) VB6 property. I, like a lot of people I imaging, display the...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
12
by: InvalidLastName | last post by:
We have been used XslTransform. .NET 1.1, for transform XML document, Dataset with xsl to HTML. Some of these html contents contain javascript and links. For example: // javascript if (a &gt; b)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...
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
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,...
0
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...

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.