Solved

Display Version info in Properties Dialog

Posted on 1997-05-16
4
224 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
dialer.exe 4 72
Best way to accomplish this task? 3 96
Developing a front end to SPLUNK 1 102
Visual Studio Start / Browser Emulator menu different 2 37
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

737 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