program version information

How (little example please) can I make the program information visible inside the application (ex. about or dialogbox).  The information I'm talking about is the program name, buildversion, fileversion, company name, ... (see menu project, options, version info).

I know you can see it in the property (version page) of the EXE file, but I want to use it inside the application.

All solutions welcome.

Thanks, Dirk.
ka1aAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

simonetCommented:
In my site there's a demo application that will teach you how to extract version information form biary files. The URL is:

http://www.bhnet.com.br/~simonet/howtoprojs.htm 

Download the project entitled " How to extract Version information from EXEs, DLLs, VXDs, etc... ". It's 134Kb and full source code is included.

Yours,

Alex
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ka1aAuthor Commented:
Alex,

I download your example.  It works fine.  When I use your example program to make the versioninformation of my program visible all I get is Fyletype, Operatingsystem and productversion.  All the others (comment, companyname, ...) are not visible.  In your example program with your own program selected they are all visible.  I have put the information in project, options, version.  What am I doing wrong?

Thanks in advance,
Dirk.
0
simonetCommented:
IT happens that comment, companyname, etc is not being added to the EXE. Try rebuild (do a Build all) the application whose version info is missing.

Alex
0
ka1aAuthor Commented:
Thanks,

Dirk.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.