Solved

Display Version info in Properties Dialog

Posted on 1997-05-16
4
216 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks, everything seems to be working fine now.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now