Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MFC File naming/version modifying

MFC File naming/version modifying

Scheduled Pinned Locked Moved C / C++ / MFC
c++databasehelpquestionannouncement
5 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Antti Keskinen
    wrote on last edited by
    #1

    Hi ! Well, I couldn't formulate the topic specifically, so you'll have to read the post instead.. :) My problem is that when I build my MFC application, then at least in Windows XP, my files become named like 'filename.exe (line break) MFC Application'. How on Earth can I remove that 'MFC Application' from my file descriptions, or at least modify it to something else ? Like 'filename.exe (line break) ODBC Query tool' or something similar ? Thanks in advance, Antti Keskinen

    S 1 Reply Last reply
    0
    • A Antti Keskinen

      Hi ! Well, I couldn't formulate the topic specifically, so you'll have to read the post instead.. :) My problem is that when I build my MFC application, then at least in Windows XP, my files become named like 'filename.exe (line break) MFC Application'. How on Earth can I remove that 'MFC Application' from my file descriptions, or at least modify it to something else ? Like 'filename.exe (line break) ODBC Query tool' or something similar ? Thanks in advance, Antti Keskinen

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      Sounds like you need to examine the VERSION resource. IIRC, that's where explorer gets the additional information for EXE files to display as an info tip. The filename.exe is just the name of the file (but you guessed that already!) and then line breaks are put in. I think you might want to change the value for 'File Description' and/or 'Product Name'. Steve S

      A 1 Reply Last reply
      0
      • S Steve S

        Sounds like you need to examine the VERSION resource. IIRC, that's where explorer gets the additional information for EXE files to display as an info tip. The filename.exe is just the name of the file (but you guessed that already!) and then line breaks are put in. I think you might want to change the value for 'File Description' and/or 'Product Name'. Steve S

        A Offline
        A Offline
        Antti Keskinen
        wrote on last edited by
        #3

        Thank you, Steve ! I found the appropriate version info, but after I altered it and recompiled, my Explorer didn't update itself, but kept on showing the 'MFC Application' tag. Rebooting computer helped to solve the issue :) -Antti

        S 1 Reply Last reply
        0
        • A Antti Keskinen

          Thank you, Steve ! I found the appropriate version info, but after I altered it and recompiled, my Explorer didn't update itself, but kept on showing the 'MFC Application' tag. Rebooting computer helped to solve the issue :) -Antti

          S Offline
          S Offline
          Steve S
          wrote on last edited by
          #4

          Next time, you might try clicking on the desktop, but not an icon, and hitting F5 to get explorer to perform a refresh. (In an explorer window, there's a menu option to do the same). I think this "persuades" explorer to refresh it's cache of things like the version info. Steve S

          A 1 Reply Last reply
          0
          • S Steve S

            Next time, you might try clicking on the desktop, but not an icon, and hitting F5 to get explorer to perform a refresh. (In an explorer window, there's a menu option to do the same). I think this "persuades" explorer to refresh it's cache of things like the version info. Steve S

            A Offline
            A Offline
            Antti Keskinen
            wrote on last edited by
            #5

            Well, it didn't work for me. The app description wasn't changed until I booted my machine. After that it started working properly again.. Weird stuff :) -Antti ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups