Solved

Display Version info in Properties Dialog

Posted on 1997-05-16
4
223 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…

740 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