Solved

Display Version info in Properties Dialog

Posted on 1997-05-16
4
222 Views
Last Modified: 2013-12-03

I have version info contained in the executable -- if you use the Windows API calls to query for version info, you get it (ie. using VerQueryValue(...)).

But if you right click the mouse on the .exe while in Explorer, and select properties, you don't get a 'Version' tab on the property sheet, as you do in many other applications (like MS Word or Netscape, etc.).  How do I do this?

(I'm using Borland C++ 5.01A.)
0
Comment
Question by:tbratsos
4 Comments
 
LVL 23

Expert Comment

by:chensu
ID: 1397404
It should work. I am not sure what is missing. Can you see the version resource in Resource Workshop?

0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1397405
Check what language the version resource in your application is compared to that of your PC

0
 
LVL 15

Accepted Solution

by:
NickRepin earned 100 total points
ID: 1397406
Ensure your versioninfo looks like this:

1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
   BLOCK "StringFileInfo" {
      BLOCK "041904E3" {
         VALUE "CompanyName","Company name here\000\000"
         VALUE "FileDescription","File description here\000\000"
         VALUE "FileVersion","1.00\000\000"
         VALUE "InternalName","Internal name here\000\000"
         VALUE "LegalCopyright","Copyright,1996-1997\000\000"
         VALUE "OriginalFilename","Original filename here\000\000"
         VALUE "ProductName","Product name here\000\000"
         VALUE "ProductVersion","1.00\000\000"
      }
   }
   BLOCK "VarFileInfo" {
      VALUE "Translation",0x419,0x4E3
   }
}

0
 

Author Comment

by:tbratsos
ID: 1397407
Thanks, everything seems to be working fine now.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question