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. VC++

VC++

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
9 Posts 6 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.
  • U Offline
    U Offline
    User 3037427
    wrote on last edited by
    #1

    I have written a VC++ Program. I want it to execute when a clicked on a hyperlilnk. Can anybody tell me how i can do this? :confused: Thaks in advance.:)

    C N N E A 5 Replies Last reply
    0
    • U User 3037427

      I have written a VC++ Program. I want it to execute when a clicked on a hyperlilnk. Can anybody tell me how i can do this? :confused: Thaks in advance.:)

      C Offline
      C Offline
      color Aljechin
      wrote on last edited by
      #2

      Please state your problem more precisely

      U 1 Reply Last reply
      0
      • U User 3037427

        I have written a VC++ Program. I want it to execute when a clicked on a hyperlilnk. Can anybody tell me how i can do this? :confused: Thaks in advance.:)

        N Offline
        N Offline
        Naveen
        wrote on last edited by
        #3

        sruti_p wrote:

        I want it to execute when a clicked on a hyperlilnk.

        u mean clicking a link in the Internet explorer? nave

        U 1 Reply Last reply
        0
        • C color Aljechin

          Please state your problem more precisely

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

          I wnat my program to get executed when a click on a hyper lllink in a html file. How can i do this?

          C 1 Reply Last reply
          0
          • N Naveen

            sruti_p wrote:

            I want it to execute when a clicked on a hyperlilnk.

            u mean clicking a link in the Internet explorer? nave

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

            Yes.

            1 Reply Last reply
            0
            • U User 3037427

              I wnat my program to get executed when a click on a hyper lllink in a html file. How can i do this?

              C Offline
              C Offline
              color Aljechin
              wrote on last edited by
              #6
              <EXECUTEPROGRAM> MyProgram.exe </EXECUTEPROGRAM>
              

              Look into ActiveX. I am afraid that HTML is of least helpful for your requirement. This has become a browser side scripting question you see. No matter if your program is written in VC++ or C or C#.

              1 Reply Last reply
              0
              • U User 3037427

                I have written a VC++ Program. I want it to execute when a clicked on a hyperlilnk. Can anybody tell me how i can do this? :confused: Thaks in advance.:)

                N Offline
                N Offline
                Nibu babu thomas
                wrote on last edited by
                #7

                sruti_p wrote:

                I want it to execute when a clicked on a hyperlilnk. Can anybody tell me how i can do this?

                Browsers don't allow you to do that. They simply open up a download box where you can click on Open to run it from its current location AFAIK.


                Nibu thomas A Developer Programming tips[^]  My site[^]

                1 Reply Last reply
                0
                • U User 3037427

                  I have written a VC++ Program. I want it to execute when a clicked on a hyperlilnk. Can anybody tell me how i can do this? :confused: Thaks in advance.:)

                  E Offline
                  E Offline
                  Eytukan
                  wrote on last edited by
                  #8

                  Try creating an Active-X. Otherwise you'll get the "open,save,cancel" dialog popped.

                  1 Reply Last reply
                  0
                  • U User 3037427

                    I have written a VC++ Program. I want it to execute when a clicked on a hyperlilnk. Can anybody tell me how i can do this? :confused: Thaks in advance.:)

                    A Offline
                    A Offline
                    anwer_skk
                    wrote on last edited by
                    #9

                    I think it is quite difficult to implement, because that is against security settings of the browser. But there is a lateral way to do that. 1. Create a simple COM dll , and implement a function say Execute() in the dll. 2. In execute function; write the code to start your executable. (use System() or ShellExecute() functions ) 3. In your HTML write some client side scripts to Create the COM object and call the Execute() function. This is my idea to resolve the problem. -- modified at 0:40 Monday 29th May, 2006

                    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