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. Getting Program Name

Getting Program Name

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionhelptutorial
1 Posts 1 Posters 0 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
    Al_Pennyworth
    wrote on last edited by
    #1

    This might be an easy question for someone out there. I put together some code so that a user can go out and select a custom program (like WinAmp, WMP, solitaire, freecell, anything that is an .exe file) and it puts the icon for that program on a toolbar and when pressed, it calls the .exe file. What I would like to do is put the program name, up to 8 chars anyway, under the icon. I was wondering if anyone knew how to get the program name from the properties of the .exe file. Right now, I use the filename but in cases like solitaire, it just puts SOL. Does anyone know how to retrieve the properties so I can determine what the application name is? If possible, I need help in 2 areas. This will go into 2 apps, one is written in C and the other in C++/MFC. Can you help???

    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