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. Web Development
  3. ASP.NET
  4. ActiveX Webcam

ActiveX Webcam

Scheduled Pinned Locked Moved ASP.NET
csharpcomtutorial
4 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.
  • A Offline
    A Offline
    Armandt__
    wrote on last edited by
    #1

    Hi, im trying to use the webcam on a webpage, I created the control in C# , when working with a normal windows form app, it works fine , displaying the image that it gets from the webcam, but when i convert it into a activex control so that i can use the functionality on a aspx page , the webcam gets initialized but i only see a black box where the cam feed is supposed to be, ive tried a lot of ways now but i cant seem to display a picture in the picture box in the activex control, it just stays black, so if someone could please assist me in do this, either how to use the webcam on a aspx page or how to display a image saved on the client pc (when i save an image on the client pc with the activex control it saves fine, it just does not display on the page) I need this to take pictures of employees ect via the website

    S V 2 Replies Last reply
    0
    • A Armandt__

      Hi, im trying to use the webcam on a webpage, I created the control in C# , when working with a normal windows form app, it works fine , displaying the image that it gets from the webcam, but when i convert it into a activex control so that i can use the functionality on a aspx page , the webcam gets initialized but i only see a black box where the cam feed is supposed to be, ive tried a lot of ways now but i cant seem to display a picture in the picture box in the activex control, it just stays black, so if someone could please assist me in do this, either how to use the webcam on a aspx page or how to display a image saved on the client pc (when i save an image on the client pc with the activex control it saves fine, it just does not display on the page) I need this to take pictures of employees ect via the website

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      Did you had a look at these: Dynamic Webcam Image[^] Webcam in your own applications using C#[^]

      1 Reply Last reply
      0
      • A Armandt__

        Hi, im trying to use the webcam on a webpage, I created the control in C# , when working with a normal windows form app, it works fine , displaying the image that it gets from the webcam, but when i convert it into a activex control so that i can use the functionality on a aspx page , the webcam gets initialized but i only see a black box where the cam feed is supposed to be, ive tried a lot of ways now but i cant seem to display a picture in the picture box in the activex control, it just stays black, so if someone could please assist me in do this, either how to use the webcam on a aspx page or how to display a image saved on the client pc (when i save an image on the client pc with the activex control it saves fine, it just does not display on the page) I need this to take pictures of employees ect via the website

        V Offline
        V Offline
        Venkatesh Mookkan
        wrote on last edited by
        #3

        Armandt__ wrote:

        created the control in C# , when working with a normal windows form app, it works fine , displaying the image that it gets from the webcam, but when i convert it into a activex control so that i can use the functionality on a aspx page

        You cannot create ActiveX using .NET. But you can do similar by luck. There are lots of steps to follows. I tried to create on and finally dropped that plan. I suggest you to create the ActiveX either using VC++ or VB6. Refer: MSDN Forum[^] Happy programming.

        Castle Rider

        What if I freeze??? Don't forget to breath...

        My: Website | Yahoo Group | Blog Spot

        A 1 Reply Last reply
        0
        • V Venkatesh Mookkan

          Armandt__ wrote:

          created the control in C# , when working with a normal windows form app, it works fine , displaying the image that it gets from the webcam, but when i convert it into a activex control so that i can use the functionality on a aspx page

          You cannot create ActiveX using .NET. But you can do similar by luck. There are lots of steps to follows. I tried to create on and finally dropped that plan. I suggest you to create the ActiveX either using VC++ or VB6. Refer: MSDN Forum[^] Happy programming.

          Castle Rider

          What if I freeze??? Don't forget to breath...

          My: Website | Yahoo Group | Blog Spot

          A Offline
          A Offline
          Armandt__
          wrote on last edited by
          #4

          Create ActiveX in .NET Step by Step[^] I used this to create the activex component, maybe 1 of u guys can help me with displaying an image from the clipboard on the page using javascript, or display it using activex, just for info , this is a intranet site, will only be used by employees, not by public,

          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