The way we use version numbering is strings and manually maintaining them.
I have a bit of code that will read the string from the VersionInfo
Key/value pair and give you the string to display etc.
Let me know if you want it ... you just pass the Key and it returns the
value.

Regards
Paul McKenzie
Analyst Programmer
SMSS ltd.

----- Original Message -----
From: "Conor Boyd" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 3:17 PM
Subject: RE: [DUG]: seem to remember...autoincrement version number


> My code is purely to pull a version number from the header (presumably?)
of
> a compiled exe; i.e. if you right click on an exe in Explorer and view
it's
> Version information, you can see a FileVersion number which my code can
also
> retrieve, e.g., if you want to display it in an About box.
>
> Basically, my bit of code means that if you use the version numbering from
> the Project Options dialog, you never have to manually update version
> numbers which your application may display to the user.
>
> Paul's already answered your preceding zeroes query, certainly in terms of
> getting Delphi to automatically generate version numbers.  I don't know
> whether this is because the version numbers are stored as just that,
numbers
> instead of strings?  Have you found a way round that, Paul?
>
> It may be possible to rewrite my bit of code to set the executable's
version
> number rather than get it, but I don't know - I've never tried that.
>
> Drop me a line if you want me to send it to you.  One caveat is that I've
> been told that my little bit of code is locale-specific; don't know if
> that's an issue for you or not.
>
> HTH,
>
> C.
>
> -----Original Message-----
> From: Chris Veale [mailto:[EMAIL PROTECTED]]
>
> yeah Im after a version number like 1.84.0036
>
> any ideas? Conor would your code work with this?
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Paul Mckenzie
> > Sent: Wednesday, 22 January 2003 3:05 p.m.
> > To: Multiple recipients of list delphi
> > Subject: Re: [DUG]: seem to remember...autoincrement version number
> >
> >
> > Note: It is incremented for every single Build of the Project
> > and does not
> > allow leading 0's.
> > We do not use it because of this...
> > Other than that - it is v useful.
> >
> > Regards
> > Paul McKenzie
> > Analyst Programmer
> > SMSS ltd.
> >
> > ----- Original Message -----
> > From: "Conor Boyd" <[EMAIL PROTECTED]>
> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
> > Sent: Wednesday, January 22, 2003 2:52 PM
> > Subject: RE: [DUG]: seem to remember...autoincrement version number
> >
> >
> > > Project, Options, Version Info tab, Include Version Info,
> > Auto-increment
> > > build number.
> > >
> > > I've also got a bit of code somewhere to allow you to read
> > the number from
> > > e.g. an About box, if it's any use to you...
> > >
> > > HTH,
> > >
> > > C.
> > >
> > > -----Original Message-----
> > > From: Chris Veale [mailto:[EMAIL PROTECTED]]
> > >
> > > I seem to remember a topic in here about automatically
> > updating version
> > > numbers as builds progress, can anyone please point me to
> > the right place
> > or
> > > can anyone please tell me if this can be done?
> > >
> > --------------------------------------------------------------
> > ------------
> > -
> > >     New Zealand Delphi Users group - Delphi List -
> > [EMAIL PROTECTED]
> > >                   Website: http://www.delphi.org.nz
> > > To UnSub, send email to: [EMAIL PROTECTED]
> > > with body of "unsubscribe delphi"
> > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> >
> >
> > --------------------------------------------------------------
> > -------------
> >     New Zealand Delphi Users group - Delphi List -
> > [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED]
> > with body of "unsubscribe delphi"
> > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/03
> >
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/03
>
>
>
>
> ______________________________________________________
> The contents of this e-mail are privileged and/or confidential to the
> named recipient and are not to be used by any other person and/or
> organisation. If you have received this e-mail in error, please notify
> the sender and delete all material pertaining to this e-mail.
> ______________________________________________________
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to