Announcement

Collapse
No announcement yet.

New .rc file with Vista?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • garry star
    replied
    Thank you! It was this that I was missing

    BLOCK "VarFileInfo"
    BEGIN
    VALUE "Translation", 0x0409, 1252
    END

    Leave a comment:


  • Erik Loef
    replied
    John,

    Interesting, thank you!

    Leave a comment:


  • John Montenigro
    replied
    Clay,
    Where were you in September when I needed you!?!?

    http://www.powerbasic.com/support/pb...ad.php?t=38441

    Erik,
    You'll find informative details in that thread...


    -JohnM

    Leave a comment:


  • Erik Loef
    replied
    I added the last part and all of a sudden everything shows up.

    Thanks very much Clay!

    Leave a comment:


  • Clay Clear
    replied
    Use the following copy-n-paste from my PB folder as a guideline. Note the important note down the page.

    Code:
    1 VERSIONINFO
    FILEVERSION 2, 0, 0, 524
    PRODUCTVERSION 2, 0, 0, 0
    FILETYPE VFT_APP
    BEGIN
    BLOCK "StringFileInfo"
    BEGIN
    BLOCK "040904E4"
    BEGIN
    VALUE "CompanyName", "Clay Clear's Software\0"
    VALUE "FileVersion", "2.0.0.524\0"
    VALUE "ProductVersion", "2.0.0.0\0"
    VALUE "Author", "Clay C. Clear\0"
    VALUE "LegalCopyright", "Freeware\0"
    VALUE "LegalTrademarks", "None\0"
    VALUE "Originalfilename", "calendar.exe\0"
    VALUE "FileDescription", "calendar.exe\0"
    VALUE "InternalName","calendar\0"
    VALUE "ProductName", "calendar.exe\0"
    VALUE "E-mail", "[email protected]\0"
    END
    END
    'the bottom part is also required in a versioninfo resource, I believe
    BLOCK "VarFileInfo"
    BEGIN
    VALUE "Translation", 0x0409, 1252
    END
    END

    Leave a comment:


  • Erik Loef
    started a topic New .rc file with Vista?

    New .rc file with Vista?

    When I use the following resource text with Windows XP and right click on the exe within Windows Explorer, I find on the details tab most of the info of the resource text.

    However when I do the same within Windows Explorer on my Vista machine I am only seeing the version number.

    Are there changes needed somehow?

    Code:
    #include "c:\pb90\winapi\resource.h"
    
    1 24 "ab10.exe.manifest.xml"
    
    VS_VERSION_INFO VERSIONINFO
    PRODUCTVERSION 1, 0, 0, 0
    FILEVERSION 1, 0, 0, 0
    FILEOS VOS_WINDOWS32
    FILETYPE VFT_APP
    BEGIN
      BLOCK "StringFileInfo"
      BEGIN
        BLOCK "040904E4"
        BEGIN
          VALUE "CompanyName",      "My name\0"
          VALUE "FileDescription",  "My program\0"
          VALUE "FileVersion",      "1.0.0.0\0"
          VALUE "InternalName",     "ab10\0"
          VALUE "OriginalFilename", "ab10.exe\0"
          VALUE "LegalCopyright",   "© 2009 My name, All Rights Reserved\0"
          VALUE "ProductName",      "My program\0"
          VALUE "ProductVersion",   "1.0\0"
        END
      END
    END
    Last edited by Erik Loef; 14 Jan 2009, 10:27 AM.
Working...
X
😀
🥰
🤢
😎
😡
👍
👎