Please i want some help on how to capture an image(webcam) using VB6 And show the image in an image box after saving it.
how can i do it?
Printable View
Please i want some help on how to capture an image(webcam) using VB6 And show the image in an image box after saving it.
how can i do it?
theres many different ways,
- you can use printscreen key, and use Clipboard to save it
- you can use the API BitBlt to copy it, together with a bunch of gdi API
- another way is to use the API PrintWindow to capture it, together with a bunch of API to fetch the hwnd.
- if the webcam video is in your own form, maybe theres even a easier way from its own video render-snapshot.
any of them can be found if you do a search.
twain can do it too. google "vb6 webcam twain" for more information