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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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