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#
  4. Unplugging USB camera

Unplugging USB camera

Scheduled Pinned Locked Moved C#
helpquestion
5 Posts 3 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.
  • B Offline
    B Offline
    B Z
    wrote on last edited by
    #1

    hye, I m Using USB webcam in my project to take live video. If, accidently, I unplug the camera while its grabbing live video frames, my system restarts. I have searched but cant find its solution so far. So plz can any1 tell me how can i fix this problem ?

    B!z

    A D 2 Replies Last reply
    0
    • B B Z

      hye, I m Using USB webcam in my project to take live video. If, accidently, I unplug the camera while its grabbing live video frames, my system restarts. I have searched but cant find its solution so far. So plz can any1 tell me how can i fix this problem ?

      B!z

      A Offline
      A Offline
      Anthony Mushrow
      wrote on last edited by
      #2

      Is it your program that causes windows to restart? Or something else?

      My current favourite word is: Bauble!

      -SK Genius

      B 1 Reply Last reply
      0
      • B B Z

        hye, I m Using USB webcam in my project to take live video. If, accidently, I unplug the camera while its grabbing live video frames, my system restarts. I have searched but cant find its solution so far. So plz can any1 tell me how can i fix this problem ?

        B!z

        D Offline
        D Offline
        DaveyM69
        wrote on last edited by
        #3

        Have a look at this project http://www.codeproject.com/cs/system/DriveDetector.asp[^] It can easily be ammended to detect the removal or insertion of any USB device. Use removal notification to end/suspend your video grab.

        B 1 Reply Last reply
        0
        • A Anthony Mushrow

          Is it your program that causes windows to restart? Or something else?

          My current favourite word is: Bauble!

          -SK Genius

          B Offline
          B Offline
          B Z
          wrote on last edited by
          #4

          no its my programme that causes System to restart. and now i m going to look at this proj:http://www.codeproject.com/cs/system/DriveDetector.asp\[^\] for further help. Regards.

          B!z

          1 Reply Last reply
          0
          • D DaveyM69

            Have a look at this project http://www.codeproject.com/cs/system/DriveDetector.asp[^] It can easily be ammended to detect the removal or insertion of any USB device. Use removal notification to end/suspend your video grab.

            B Offline
            B Offline
            B Z
            wrote on last edited by
            #5

            Ok thx. i'll check it !

            B!z

            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