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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Need Help

Need Help

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++help
5 Posts 4 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.
  • U Offline
    U Offline
    User 3037427
    wrote on last edited by
    #1

    Inorder to open the browser, we need to click on the Explorer icon. Similarly i want my VC++ program with an Icon. How can i do this???:confused: Thanks in advance.:-O

    A H 2 Replies Last reply
    0
    • U User 3037427

      Inorder to open the browser, we need to click on the Explorer icon. Similarly i want my VC++ program with an Icon. How can i do this???:confused: Thanks in advance.:-O

      A Offline
      A Offline
      Anu_Bala
      wrote on last edited by
      #2

      Go to resource tab,and then click ICon.already there is MFC icon change what ever you want.u can made icon as u like.

      U 1 Reply Last reply
      0
      • A Anu_Bala

        Go to resource tab,and then click ICon.already there is MFC icon change what ever you want.u can made icon as u like.

        U Offline
        U Offline
        User 3037427
        wrote on last edited by
        #3

        What u answered is how to add an icon in VC++ program. But what i want is an icon on desktop, clicking on which will execute a file. For eg When click on notepad icon, notepad.exe will be executed. In the same way i want my program to get executed when i click on the icon. Anyhow thanks for ur reply.:)

        S 1 Reply Last reply
        0
        • U User 3037427

          What u answered is how to add an icon in VC++ program. But what i want is an icon on desktop, clicking on which will execute a file. For eg When click on notepad icon, notepad.exe will be executed. In the same way i want my program to get executed when i click on the icon. Anyhow thanks for ur reply.:)

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

          What you want to do is to create a shortcut. To do this, you need to know how to use COM, and a Windows shell interface IShellLink. There is almost certainly an article on CP that shows how to do this, if you search on that keyword. Steve S Developer for hire

          1 Reply Last reply
          0
          • U User 3037427

            Inorder to open the browser, we need to click on the Explorer icon. Similarly i want my VC++ program with an Icon. How can i do this???:confused: Thanks in advance.:-O

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            Do you need to shortcut? if yes see Here[^]_**


            **_

            whitesky


            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