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. how to get the picture from webcam in C#?

how to get the picture from webcam in C#?

Scheduled Pinned Locked Moved C#
csharptutorialquestion
4 Posts 4 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.
  • K Offline
    K Offline
    kendao
    wrote on last edited by
    #1

    thanks

    M H J 3 Replies Last reply
    0
    • K kendao

      thanks

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      This is just an idea , don't know if it works or it is a good way: When you connect a webcam or DGC to PC , additional removable disk drive added to your PC. You can check it with win32 API if it is exist and its proper type (for example with GetDriveType() function) then simply give the path to it. Mazy "A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope

      1 Reply Last reply
      0
      • K kendao

        thanks

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        Try searching[^] CodeProject for a few. There's other ways as well. Mazdak touched on one, but that only works in newer Windows OS's (like XP) and only if the webcam driver support the Windows Imaging APIs.

        Microsoft MVP, Visual C# My Articles

        1 Reply Last reply
        0
        • K kendao

          thanks

          J Offline
          J Offline
          joan_fl
          wrote on last edited by
          #4

          This CodeProject Article should help... http://www.codeproject.com/cs/media/DirectXCapture.asp[^] ------------------------------- Joan MomComputerGeek.com

          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