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. Auto pop-up a program when USB device connected

Auto pop-up a program when USB device connected

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
6 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.
  • S Offline
    S Offline
    sowhat_82
    wrote on last edited by
    #1

    Hi all, I need to be able to automatically run a program of my choice, say an .exe or a VC++ program, when a particular USB device is plugged in. Does anyone know how to do it, or know where i can find more information about this topic? any help is greatly appreciated! thanks and regards, sowhat_82

    R C D M 4 Replies Last reply
    0
    • S sowhat_82

      Hi all, I need to be able to automatically run a program of my choice, say an .exe or a VC++ program, when a particular USB device is plugged in. Does anyone know how to do it, or know where i can find more information about this topic? any help is greatly appreciated! thanks and regards, sowhat_82

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      Hey!!! are you a fool? :mad: In how many forums have you asked this question? Can't you put it at the right place and be patient for a response? Currently you have posted it in the General Discussions forum (Here[^]), Windows Forms forum (Here[^]), Operating Systems / SysAdmin forum (Here[^]), Article Requests and Ideas forum (Here[^]), Visual Studio Programming Forum (Here[^]) and obviously here, which is the Visual C++ forum.


      Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா

      H 1 Reply Last reply
      0
      • S sowhat_82

        Hi all, I need to be able to automatically run a program of my choice, say an .exe or a VC++ program, when a particular USB device is plugged in. Does anyone know how to do it, or know where i can find more information about this topic? any help is greatly appreciated! thanks and regards, sowhat_82

        C Offline
        C Offline
        cp9876
        wrote on last edited by
        #3

        You posted the same message on 6 forums!

        1 Reply Last reply
        0
        • S sowhat_82

          Hi all, I need to be able to automatically run a program of my choice, say an .exe or a VC++ program, when a particular USB device is plugged in. Does anyone know how to do it, or know where i can find more information about this topic? any help is greatly appreciated! thanks and regards, sowhat_82

          D Offline
          D Offline
          deeps_cute
          wrote on last edited by
          #4

          have you got the solution to your problem.am also have this doupt.if you got send solution.

          Arise Awake Stop Not Till ur Goal is Reached.

          1 Reply Last reply
          0
          • R Rajesh R Subramanian

            Hey!!! are you a fool? :mad: In how many forums have you asked this question? Can't you put it at the right place and be patient for a response? Currently you have posted it in the General Discussions forum (Here[^]), Windows Forms forum (Here[^]), Operating Systems / SysAdmin forum (Here[^]), Article Requests and Ideas forum (Here[^]), Visual Studio Programming Forum (Here[^]) and obviously here, which is the Visual C++ forum.


            Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா

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

            It seems your repoert is perfect ;)


            WhiteSky


            1 Reply Last reply
            0
            • S sowhat_82

              Hi all, I need to be able to automatically run a program of my choice, say an .exe or a VC++ program, when a particular USB device is plugged in. Does anyone know how to do it, or know where i can find more information about this topic? any help is greatly appreciated! thanks and regards, sowhat_82

              M Offline
              M Offline
              Mark Salsbery
              wrote on last edited by
              #6

              Have you looked at the RegisterDeviceNotification API? Maybe you could write a little app that gets a notification of a device added and launches the appropriate EXE...

              "Great job, team. Head back to base for debriefing and cocktails." (Spottswoode "Team America")

              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