How To Take A Photo Using Webcam

Feb 12, 2012

I'm trying to take a picture from my webcam when the user clicks a button on a Form on a Windows XP Machine.

I tried going through several threads, but couldn't find the solution I was looking for. Most of the threads involved matters (and code) too complex for my requirements, or had bugs when I reproduced the code in my editor window which I was unable to resolve due to my lack of knowledge in I/O related programming.

So far the simplest solution I could find was this one:[URl]...but after using his solution in my editor, it says 'type WIA is not defined', despite adding a reference to Microsoft Windows Image Acquisition 1.01 Type Library.

View 17 Replies


ADVERTISEMENT

Open A Photo With The Default Photo Editor?

Jan 28, 2008

-VB 2008-

I'm designing a very simple photo album program and need to be able to open an image using the system's default photo editor.

View 10 Replies

Taking Pictures With Webcam Via Webcam Button?

Mar 28, 2012

I have a logitech webcam that I use to take pictures of customers to submit to a server/database. Utilizing AVICAP32.DLL calls, I was able to modify my VB.NET program to take these pictures via a button in my program.

My question is, it would me more convenient to my intended users to click the webcam button, instead of clicking on the button in my program.

Is this possible to do in VB.NET? and how can I do this?

If this is not possible to do with my logitech webcam than is there a Microsoft Webcam that can do this?

View 1 Replies

Make Photo Viewer Open When User Open Drive C And Get All Photo In The Drive To Be Shown In It?

Jul 12, 2011

I design photo viewer app using this code

[Code]...

now how to make my photo viewer open when user open drive C and get all photo in the drive to be shown in it ?

View 14 Replies

Add And Recover A Photo To A Project?

Feb 2, 2010

i want to add photo to the employee and i want to save it to the another folder(any default folder of project) and retrieve it according to the employeeid from.basically i dont know the code

View 1 Replies

Create A Photo Gallery?

Sep 19, 2011

I'm new(ish) to Visual Basic and I'm rapidly picking things up as I go.I am currently programming a photo organiser program with the aim of easy tagging, titling, commenting etc.I would like to create a gallery view similar to Windows Live Photo Gallery or Picasa. I've tried searching on Google and these forums for where to start with this but I'm not having much luck! Most search returns just give a guide on displaying one image in a picture box but I would like to display multiple images that can be selectable.

View 3 Replies

Creating A Photo Importer?

Jul 7, 2011

I want to make a photo importer,i've got 3 picture boxes and i want to make a button and when picturebox1 is full automactly import a photo to picturebox2 and wenn picturebox2 is full automactly import photo to picturebox3?

View 4 Replies

Error While Deleting Photo?

Aug 25, 2009

while deleting foto it showing the error like"The process cannot access the file because it is being used by another process."actually while am clicking on the data grid.. the photo showing on a picture box"how can i delete the fotoam using the code

If File.Exists(strPhotoPath) Then
File.Delete(strPhotoPath)
End If

View 1 Replies

How To Update Photo And Data

Dec 11, 2011

I've just noticed that even if a photo exists and I update only data, the photo automatically gets deleted. Specifically, please I want a code that can be used to update either data or photo and, or both.

[code]....

View 1 Replies

Retrieve Photo From Sql Server To Asp.net & .net?

Jan 16, 2012

This is in vb.net The photo never show up and I have no error.This is how I stock the photo on The SQl DB

Sub StartUpLoad()

[Code]...

View 2 Replies

Transfer A Photo From Database To Vb?

Oct 27, 2009

i was wondering how am i going to transfer a photo from database to vb. it there possible to do that??

View 7 Replies

Add More Than A Single Photo To Database (one Cell)?

Nov 4, 2011

I'm creating a database for photos'.

The issue is that I have a need to upload a set of photos to the database instead of a single photo.

This would be all fine and dandy if I knew how many photos would be added at once but in this case it could be 1 or 100.

I have my database (setup in details) and dragged onto my form. Right now I only have a picture box for my picture to place into the database.

So what's the best way to upload numerous photos to a database without having to create 10000 cells in my database?

View 3 Replies

Add Water Mark To A Photo During Uploading In Asp.net?

Mar 1, 2011

Possible Duplicate: Place watermark image on other images (C#, ASP.Net) how to add water mark to a photo during uploading in asp.net ???

View 1 Replies

Copy A File For Example Photo.jpg To Another Directory?

Apr 8, 2009

i want to copy a file for example photo.jpg to another directory let's say photosdir.....how do i do that?

View 6 Replies

Display Photo By Selection From Listbox1?

Jul 28, 2010

Last week I was trying to display photos according to the selections from a listbox. That is, picturebox1 was showing the pictures with the same name chosen from listbox using the below [code]...

View 6 Replies

How To Execute Windows Photo Gallery

Oct 1, 2010

How can I call Windows Photo Viewer in VB.NET? I want to use some code similar to the one below but it does show up because it does not have an .exe file, but has a .dll file instead.

Dim PlayerPath As String = "C:Program FilesGRETECHGomPlayerGOM.exe"
Dim process As Process = New Process
process.StartInfo.FileName = PlayerPath

[Code]....

View 1 Replies

Make App View The Photo That Right Clicked On It?

Jul 11, 2011

I use this code to create shortcut to my app in context menu

Imports
Microsoft.Win32
Public Shared

[Code]....

View 4 Replies

Photo Album Controlled By Button?

May 17, 2011

"Create a "photo album" of your favorite musical band, favorite vacation, favorite sports team, etc. Include at least five pictures or images. Your photo album should include a button that advances the program to the next photo, as well as a label that describes the picture."The code i currently have is...

Public Class frmPhotos
Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click

[code]....

View 3 Replies

Photo In Listbox1 And The Location Name Of It In Listbox2?

Aug 24, 2010

Okay as an example i am opening images through listboxes. Say I have the name of the photo in listbox1 and the location name of it in listbox2.Okay so what i want to do is make it so if i select an item in listbox1 that it will select that item down the list in listbox2 but by location not names.

[Code]...

View 3 Replies

Saving Photo Path To Mysql?

Dec 9, 2009

iam using the following code to store a path to databasetrPhotograph = "photo" & strPotoName & ".jpg"but its getting saved as "Photo6.jpg"The "" symbol is not getting saved

View 5 Replies

VS 2008 - How To Move And Compress JPG Photo

Sep 29, 2010

In visual basic 2008 how would i move and compress a jpg photo to 500k, from one location to a new location?

View 2 Replies

VS 2008 Photo Uploader From Web Browser?

Dec 2, 2009

i want to make a photo uploader from a custom web browser to imageshack.us. i was wondering what the code might be as i can't figure out what it will be. i would like to also sync the photo uploads with a progress bar to see how far the upload is complete. so far i know how to make a basic web browser.

View 1 Replies

Adding A Point Overlayed Over A Specific Photo

Sep 8, 2009

I've searched the forums for this, but I can't seem to find exactly what I am looking for. I have a form currently that allows me to open a photo in a picturebox. I would like to add functionality that would allow the user to click on a specific part of the photo and add a point overlaid on the photo. This point would be the graphical representation of comment that they will enter in a separate text box. I am stumped on how to even start to get this done.

[Code]...

View 9 Replies

Code - Program - Write The Name Of A Photo In A Textbox

Jun 4, 2011

I have a folder with some fotos in it. all i'm trying to do is make a program in whitch you can write the name of a foto in a textbox, click the "Search" button and find that picture in that folder and then show it in a picturebox in the form.(the program will search only in one specific folder) i used PictureBox1.ImageLocation but that only shows the foto you specify in the command.

View 9 Replies

Create A Photo Gallery Using Windows Form?

Dec 11, 2009

I have created a photo gallery in web.. was just wondering how to create a interactive in windows form. I wana put in all my pictures in a folder. Then call all the pictures from that folder. I am also wana set a caption for all the images but I dun wana use any db.

View 3 Replies

Create A Photo Slide-show In A PictureBox?

Mar 20, 2012

How to put more than 1 picture in a PictureBox then show all the pictures one by one such that it looks like a small slide-show?

I am working on a project that needs me to show all my products on the form.

View 1 Replies

Interface And Graphics - Photo Frame In AVI File

May 27, 2010

How can I pull a single frame from a .Avi file and save it as a .jpg/.bmp etc? I want to give VB.net a frame number, and have it save an image file of that frame - anyone?

View 1 Replies

Listbox And A Picturebox Will Display The Photo In Resources?

Jun 28, 2010

I am sure that it is very easy but I could not manage it. my aim is to choose some items from a listbox and a picturebox will display the photo in resources with the same name of the item in list box. here is the code I wrote but I cannot make it work.PictureBox1.Image = My.Resources.Resource1.ListBox1.SelectedItem

it gives a mistake telling that listbox1 is not a member of Resource1. I know this; but the result of Listbox1.selected item is a member of resource1...

View 12 Replies

Printing Without That Damn Photo Print Wizard?

May 20, 2010

Is there any way I can send a tiff of other image file to the printer without that damn Photo Print Wizard popping up?

Heres what I'm trying :

System.Diagnostics.ProcessStartInfo ps = new System.Diagnostics.ProcessStartInfo(filelocation);
ps.Verb = "Print";
System.Diagnostics.Process.Start(ps);
Its driving me nuts

View 4 Replies

Programmatically Control Features And Properties Of Photo?

Apr 8, 2011

how to Programmatically use the " Photo Print Wizard" to print sets of pictures and set properties like picture style, printer name, number of copies, etc, without displaying the " Photo Print Wizard" interface

Dim dialog As Object = CreateObject("WIA.CommonDialog")
Dim docnam As String = ""
Dim i As Integer = 0[code]....

what the above code block does is to open the " Photo Print Wizard" with the list of all the selected pictures......., but I can't set the " Photo Print Wizard" properties "Programmatically

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved