<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Look at me! Windows Image Acquisition</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/c4f/images/912546_100.jpg</url>
		<title>Channel 9 - Look at me! Windows Image Acquisition</title>
		<link></link>
	</image>
	<description>



&amp;nbsp;
Interfacing a Webcam that supports Windows Image Acquisition (WIA) using .Net



Scott Hanselman
Scott Hanselman&#39;s Computer Zen

Difficulty: Intermediate
Time Required: 
1-3 hours
Cost: $50-$100
Software: Visual Studio Express Editions,

Windows&#174; Image Acquisition Automation Library v2.0 Tool: Image acquisition and manipulation component for VB and scripting
Hardware: Logitech Webcam
Download: 

C# Download
VB Download






I love Goodwill. If you&#39;re not familiar with Goodwill, it&#39;s a chain of non-profit stores that takes donations and then resells the items back to the public. I was at Goodwill recently (we stop by at least once a week)
 and noticed this little 
Logitech Webcam for US$3.99. Frankly, I thought it was a little overpriced, but I figured I&#39;d go for it regardless.
 

 
One of the nice things about these older Logitech Webcams is that they don&#39;t require a driver download and they support

Windows Image Acquisition (WIA) directly. WIA is an API included in Windows that aims to unify the acquisition of images from all kinds of devices, including scanners and cameras. This is a pretty low-level API and a bit of a hassle to us. However, after
 Windows XP SP1 the 
WIA Automation Layer was released with a simpler COM API meant for VB6 and ASP developers. You can

download this layer from MSDN and 
other places as it is free for redistribution. The meat of the layer is the 
wiaaut.dll that should be copied into the system32 directory and registered via the command &amp;quot;regsvr32 wiaaut.dll.&amp;quot;
 
Getting to WIA from .NET
The wiaaut.dll COM automation library can be added via &amp;quot;Add Reference&amp;quot; from with Visual Studio.NET 2005 and a .NET wrapper will be automatically generated. Only devices whose drivers support WIA will be available via this interface. Most name-brand cameras
 will work just fine, but some no-name brands won&#39;t appear. If your device appears in the Control Panel&#39;s &amp;quot;Scanners and Cameras&amp;quot; interface, then this technique, and this program, should be able to see it. My camera is shown in the figure below.
 

 
In our code, we can add a namespace qualifying statement like using WIA in C# or
imports WIA in VB.NET to name it easier to access these newly imported classes and interfaces. To start, we&#39;ll need to get a hold of a DeviceID. WIA thinks about things in terms of Devices, Commands, and Formats. Devices have types like Camera,
 Scanner or Video. Commands are things like &amp;quot;Take Picture&amp;quot; and Formats are JPEG or BMP, etc.
 
We&#39;ll create an instance of a CommandDialogClass (from the newly imported WIA namespace) and ask it to show us a select dialog so that we might select from any kind of device. You can show only Video devices or only Scanners by changing the
WiaDeviceType enumeration that&#39;s passed in. We&#39;ll only show this select dialog when the user clicks &amp;quot;Configure&amp;quot; in our application, or when the application has been started with invalid configuration data.
 
Visual C#  
CommonDialogClass class1 = new CommonDialogClass();Device d = class1.ShowSelectDevice(WiaDeviceType.UnspecifiedDeviceType, true,false);if (d != null){    settings.DeviceID = d.DeviceID;    settings.Save();}



Visual Basic  
Dim class1 As CommonDialogClass = New CommonDialogClassDim d As Device = class1.ShowSelectDevice(WiaDeviceType.UnspecifiedDeviceType, true, false)If (Not (d) Is Nothing) Then    settings.DeviceID = d.DeviceID    settings.SaveEnd If




 
This select dialog is, fortunately, supplied completely by Windows and returns a Device. Each Device has a DeviceID that we will save into our User-specific settings class. This class was generated automatically by new features in Visual Studio .NET 2005
 that make managing settings fantastically easy. I right-clicked on the Project from within the Visual Studio Solution Explorer and selected &amp;quot;Settings.&amp;quot; After I indicated the names and data types of the settings I needed to save, Visual Studio 2005 generated
 a class that exposed strongly-typed properties such as DeviceID. Settings can also be saved more easily in .NET 2.0. The DeviceID for my Webcam happened to be &amp;quot;{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0003&amp;quot; and is stored in my user&#39;s
Documents And Settings\Local Settings\Application Data\BlogWebcam directory.
 
Taking a Picture
Once we&#39;ve stored away a DeviceID in the configuration file, we&#39;ll want to connect to our device and take a picture. We&#39;ll need to find the device via it&#39;s ID without showing the dialog, connect to it and hold on the Device instance.
 
Visual C#  
DeviceManager manager = new DeviceManagerClass();Device d = null;foreach (DeviceInfo info in manager.DeviceInfos){    if (info.DeviceID == settings.DeviceID)    {        d = info.Connect();        break;    }}



Visual Basic  
Dim manager As DeviceManager = New DeviceManagerClassDim d As Device = NothingFor Each info As DeviceInfo In manager.DeviceInfos    If (info.DeviceID = settings.DeviceID) Then        d = info.Connect        Exit For    End IfNext 



Now we&#39;re back where we were before, with a Device instance in the variable 
d. We&#39;ll be connecting to the device each time our timer is started. Each device has a series of commands available to it, and these commands are

well-known and identified by GUIDS both in the Registry and in the MSDN Help. We&#39;re interested in &amp;quot;Take Picture&amp;quot; which has the GUID string value &amp;quot;AF933CAC-ACAD-11D2-A093-00C04F72DC3C”, but the COM interface also exposes this value in the constant
CommandID.wiaCommandTakePicture. When we get a hold of our Device we can spin through its available Commands until we find this one to determine if the device supports it, or we can just call it directly via
Device.ExecuteCommand.  
Visual C#  
Item item = device.ExecuteCommand(CommandID.wiaCommandTakePicture);



Visual Basic  

Dim item As Item = device.ExecuteCommand(CommandID.wiaCommandTakePicture)





Once we&#39;ve called ExecuteCommand on our device an &amp;quot;Item&amp;quot; is returned. This isn&#39;t just any ordinary item, it&#39;s a WIA Item. Each WIA may include any number of image Formats. These formats are also well-known and appear in the registry. I look them up
 in the startup of the app just in case they change, rather than hard-coding them.
 
We spin through the available formats looking for JPEG. I could likely have hard-coded the JPEG GUID and avoided this quick spin, but I also wanted to illustrate how you can find your way around the WIA object model. Once we&#39;ve found JPEG, we call
item.Transfer and an ImageFile is returned that we can save to disk.  
Visual C#  

Item item = device.ExecuteCommand(CommandID.wiaCommandTakePicture);foreach (string format in item.Formats){    if (format == jpegGuid)    {        WIA.ImageFile imagefile = item.Transfer(format) as WIA.ImageFile;        filename = GetFreeFileName();        if (string.IsNullOrEmpty(filename) == false)        {            imagefile.SaveFile(filename);        }        this.picLastImage.Load(filename);        return filename;    }}



Visual Basic  

Item item = device.ExecuteDim item As Item = device.ExecuteCommand(CommandID.wiaCommandTakePicture)For Each format As String In item.Formats    If (format = jpegGuid) Then        Dim imagefile As WIA.ImageFile = CType(item.Transfer(format),WIA.ImageFile)        filename = GetFreeFileName        If (String.IsNullOrEmpty(filename) = false) Then            imagefile.SaveFile(filename)        End If        Me.picLastImage.Load(filename)        Return filename    End IfNext 



Incidentally, I also load the saved image into a PictureBox on my WinForm and return it from this
TakePicture() method.  
Uploading the Picture to my WebLog
Now that I&#39;ve taken a picture, what am I going to do to it? Well, why not upload it to a specific filename on my blog so folks can see me and my workspace; what could be more thrilling? In the past, FTP&#39;ing a file would require a third-party library, but
 .NET 2.0 has extended the System.Net.WebRequest class with support for FTP.
 
Here we&#39;ll create an FtpWebRequest by passing an ftp:// URL to the WebRequest.Create method. For convenience I&#39;ll include the username and password in the URL like this:
ftp://username:password@ftp.myurl.com/blog/webcam.jpg. Note that the URL includes the username, password, domain name and destination filename all in one string. We&#39;ll load our local file into a byte array and write it out (upload it) to the
FtpWebRequest&#39;s underlying stream by retrieving it with GetRequestStream() and then
Write().  
Visual C#  
FtpWebRequest request = (FtpWebRequest)WebRequest.Create(settings.FTPServerURL);request.Method = WebRequestMethods.Ftp.UploadFile;request.UseBinary = true;FileInfo fileInfo = new FileInfo(filename);byte[] fileContents = new byte[fileInfo.Length];using (FileStream fr = fileInfo.OpenRead()){    fr.Read(fileContents, 0, Convert.ToInt32(fileInfo.Length));}using (Stream writer = request.GetRequestStream()){    writer.Write(fileContents, 0, fileContents.Length);}using (FtpWebResponse response = (FtpWebResponse)request.GetResponse()){}    



Visual Basic  

Dim request As FtpWebRequest = Nothingrequest = CType(WebRequest.Create(settings.FTPServerURL),FtpWebRequest)request.Method = WebRequestMethods.Ftp.UploadFilerequest.UseBinary = trueDim fileInfo As FileInfo = New FileInfo(filename)Dim fileContents() As Byte = New Byte((fileInfo.Length) - 1) {}Using fr As FileStream = fileInfo.OpenRead    fr.Read(fileContents, 0, Convert.ToInt32(fileInfo.Length))End Using Using writer As Stream = request.GetRequestStream    writer.Write(fileContents, 0, fileContents.Length)End Using Dim response As FtpWebResponse = CType(request.GetResponse,FtpWebResponse) 



You may notice the use of the &amp;quot;using&amp;quot; statements in the code snippet above. Using &amp;quot;using&amp;quot; with classes that implement
IDisposable will automatically cause Dispose() to be called when then using block exits. Some folks don&#39;t like the syntax and others believe that using it even if the underlying
Dispose() doesn&#39;t do anything is syntactic sugar. Personally, I really like the syntax, and in this sample the
using statement is closing the FileStream, the Request stream, and the
FtpWebResponse.  

 
Conclusion
There are things that could be extended, added, and improved on with this project. Here are some ideas to get you started:
 

Interface with X10 or your doorbell to take a picture and display it on your Media Center PC.
Stitch together hundreds of photos, perhaps of your baby, into time-lapse videos.
Create a security system that detects motion by diff&#39;ing photos and emails you with an alarm and the attached photo!
Upload photos to Flickr or 
Smugmug with their APIs. 
Have fun and have no fear when faced with the words: Some Assembly Required! 
</description>
	<link></link>
	<language>en</language>
	<pubDate>Sat, 25 May 2013 00:04:28 GMT</pubDate>
	<lastBuildDate>Sat, 25 May 2013 00:04:28 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>How widely is WIA actually supported? I'm using an Epson PX800FW on Vista 64, and the WIA driver doesn't even support the Auto Document Feeder. I say this because property 3088 is simply not there.</p><p>I'd have thought that to get WHQL certification, all the parts of the hardware would need to work :/ I'm thinking twain is my only hope, sigh!</p><p>posted by Anthony Graham</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633853872000000000</link>
		<pubDate>Sun, 09 Aug 2009 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633853872000000000</guid>
		<dc:creator>Anthony Graham</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>Thanks again for the information, so the solution is to find another activex control rather then wiaaut.dll to control my webcam in Vista OS right?</p><p>Do you have any information about it? so i can still using my application in Vista Based environment.</p><p>And I hope it is a freeware like wiaaut.dll</p><p>Thank's</p><p>posted by Alex</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633855600000000000</link>
		<pubDate>Tue, 11 Aug 2009 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633855600000000000</guid>
		<dc:creator>Alex</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>Hi</p><p>Anybody try connect digital camera to take a picture?</p><p>How to connect &nbsp;camera digital in mode printing, computer , etc?</p><p>thanks.</p><p>posted by omar</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633861648000000000</link>
		<pubDate>Tue, 18 Aug 2009 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633861648000000000</guid>
		<dc:creator>omar</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>@Gajendra Kumar, an IP camera works different than this code. &nbsp;</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633884976000000000</link>
		<pubDate>Mon, 14 Sep 2009 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633884976000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>Hello Friend,</p><p>Any one hase idea about IP camera?? How it's work??</p><p>Thnak.s</p><p>Gajendra Kumar</p><p>posted by Gajendra Kumar</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633884976000000000</link>
		<pubDate>Mon, 14 Sep 2009 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633884976000000000</guid>
		<dc:creator>Gajendra Kumar</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>Thanks for the sample.</p><p>Can you show how to work it on a Scanner?</p><p>I will be much happy to see that</p><p>posted by menfra</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633886704000000000</link>
		<pubDate>Wed, 16 Sep 2009 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633886704000000000</guid>
		<dc:creator>menfra</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>hi friends</p><p>it was helpful,but in Vista it cause error :</p><p>Exception from HRESULT: 0x80210015</p><p>whats wrong ?</p><p>posted by dr_csharp</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633896208000000000</link>
		<pubDate>Sun, 27 Sep 2009 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633896208000000000</guid>
		<dc:creator>dr_csharp</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>@dr_csharp based on a quick bing search on that error, sounds like the device you're using isn't WIA compliant. &nbsp;I'd suggest using check out DirectShow.net or <a rel="nofollow" target="_new" href="http://wpfmediakit.codeplex.com/">http://wpfmediakit.codeplex.com/</a></p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633897072000000000</link>
		<pubDate>Mon, 28 Sep 2009 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633897072000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>@adnan, there are a bunch of things out there that can do stuff like that but we don't.</p><p>To store an image in a database (most wouldn't recommend this), use a BLOB data type. &nbsp;I'd suggest storing a file path instead to the image.</p><p>Check out DirectShow.Net or the WPF Media Kit to pull images off webcams. &nbsp;<a rel="nofollow" target="_new" href="http://wpfmediakit.codeplex.com/">http://wpfmediakit.codeplex.com/</a></p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633915216000000000</link>
		<pubDate>Mon, 19 Oct 2009 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633915216000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>Hi,</p><p>Nice article <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /></p><p>I am making a Lab Complaint Management in C# and would like the webcams placed in every lab to record the videos and save in a database or at some place.</p><p>The people using software, to whom given the rights should be able to see the live web cams of any lab, all the labs are networked to each other.</p><p>So two features</p><p>1) Able to checkout live cams of any lab</p><p>2) Record the video at some place</p><p>This need to be done in C# - &nbsp;Can anyone help? Am a newbie - Thanks a lot friends.</p><p>posted by Adnan</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633915216000000000</link>
		<pubDate>Mon, 19 Oct 2009 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633915216000000000</guid>
		<dc:creator>Adnan</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>Hi, I am trying to interface a webcam to a C# program. I need it to scan the screen to find a red dot. </p><p>What shall I do?</p><p>URGENT PLS.</p><p>Thanks</p><p>posted by kaqui</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633937716000000000</link>
		<pubDate>Sat, 14 Nov 2009 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633937716000000000</guid>
		<dc:creator>kaqui</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>@Oea Tek, part of the problem here is you need API references into the camera to do this. &nbsp;It isn't as straight forward as you think. &nbsp;I've been wanting to do this to my Canon T1i. &nbsp;Each camera's API may be slightly different and depending on it, the camera may not even have one. &nbsp;I know Canon mid and high range cameras do, as does Nikon.</p><p>This is something I've been thinking about building an SDK for but it is far harder and has more moving parts than one may think. &nbsp;Canon, while it has the API, has some restrictions on how you can distribute and how you can even get a hold of their API. &nbsp;I tried twice and haven't heard back.</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633954996000000000</link>
		<pubDate>Fri, 04 Dec 2009 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633954996000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>Are there any solution where one can capture images from a digital Camera to an image control in real time (not a web cam)? </p><p>I have been searching the web for days trying to locate such hardware software solution to no avail. I found plenty of references for web cams though.</p><p>posted by Oea Tek</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633954996000000000</link>
		<pubDate>Fri, 04 Dec 2009 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633954996000000000</guid>
		<dc:creator>Oea Tek</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>It great!!</p><p>Any one can try sample c# and vb.net webcam connecting.</p><p>Very easy to use.</p><p>[link removed]</p><p>posted by Ambeen</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633961044000000000</link>
		<pubDate>Fri, 11 Dec 2009 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633961044000000000</guid>
		<dc:creator>Ambeen</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>@Ambeen, I removed the link since I did a quick glance at it and the DLL that does the actual webcam processing worries me where you got it from and how you're distributing it. &nbsp;I'll be more than happy to post a link to your blog once I feel a bit more comfortable about where that webcam code came from. &nbsp;Please hit the &quot;email us&quot; link so we can clear this up.</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633965364000000000</link>
		<pubDate>Wed, 16 Dec 2009 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633965364000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>i am new in WIA programming. plz guide me how to implement &amp; where write these code for scanner.</p><p>posted by shoaib</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633973140000000000</link>
		<pubDate>Fri, 25 Dec 2009 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c633973140000000000</guid>
		<dc:creator>shoaib</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>brilliant post</p><p>Thanks a million!!!</p><p>posted by alin</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634021524000000000</link>
		<pubDate>Fri, 19 Feb 2010 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634021524000000000</guid>
		<dc:creator>alin</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>@Paul Chu, I understand why Scott is doing what he is doing but not 100% how to fix the issue.</p><p>Instead of using WIA to do this type of thing, I'd suggest using check out DirectShow.net or <a rel="nofollow" target="_new" href="http://wpfmediakit.codeplex.com/">http://wpfmediakit.codeplex.com/</a></p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634025844000000000</link>
		<pubDate>Wed, 24 Feb 2010 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634025844000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>Hi all,</p><p>I'm very new to this type of stuff and </p><p>I wanted to try this out on my Win 7 laptop.</p><p>I downloaded the C# code and I get a registry entry error at runtime </p><p>jpegGuid is null !</p><p>&nbsp; &nbsp; &nbsp; &nbsp;private void Form1_Load(object sender, EventArgs e)</p><p>&nbsp; &nbsp; &nbsp; &nbsp;{</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Microsoft.Win32.RegistryKey jpegKey = Microsoft.Win32.Registry.ClassesRoot.OpenSubKey(@&quot;CLSID\{D2923B86-15F1-46FF-A19A-DE825F919576}\SupportedExtension\.jpg&quot;);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;jpegGuid = jpegKey.GetValue(&quot;FormatGUID&quot;) as string;</p><p>A regedit search shows the key exists:</p><p>D2923B86-15F1-46FF-A19A-DE825F919576</p><p>but none of the \SupportedExtension\.jpg</p><p>Can anyone help me ?</p><p>Thanks, Paul </p><p>posted by Paul Chu</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634025844000000000</link>
		<pubDate>Wed, 24 Feb 2010 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634025844000000000</guid>
		<dc:creator>Paul Chu</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>why it doesn't work in windows7?</p><p>can't find any device</p><p>posted by me</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634077648000000000</link>
		<pubDate>Sun, 25 Apr 2010 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634077648000000000</guid>
		<dc:creator>me</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>@me a lot depends on the device. &nbsp;If I need to use a camera, I tend to use either the WPF Media Kit or DirectShow.Net</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634078512000000000</link>
		<pubDate>Mon, 26 Apr 2010 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634078512000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>@Donald did you import the WIA namespace?</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634194288000000000</link>
		<pubDate>Tue, 07 Sep 2010 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634194288000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>I get &quot;CommonDialogClass&quot; not define. I am using Windows Vista32 and Visual Basic 2008 express. What am I doing wrong?</p><p>posted by Donald</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634194288000000000</link>
		<pubDate>Tue, 07 Sep 2010 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634194288000000000</guid>
		<dc:creator>Donald</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>I developed under Win 7 64 bit, and was faced with a user base of XP SP3.</p><p>It is likely that wiaaut.dll is not installed or registered.</p><p>Find the XP WIA SDK (via Bing, I guess), and add it to your install project. &nbsp;Set the Register property to &quot;vsdrfCOM&quot;.</p><p><strong>[Coding4Fun]<br></strong><a href="http://www.microsoft.com/downloads/en/details.aspx?familyid=a332a77a-01b8-4de6-91c2-b7ea32537e29&amp;displaylang=en">http://www.microsoft.com/downloads/en/details.aspx?familyid=a332a77a-01b8-4de6-91c2-b7ea32537e29&amp;displaylang=en</a></p><p>&nbsp;</p><p>posted by Noah</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634232304000000000</link>
		<pubDate>Thu, 21 Oct 2010 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634232304000000000</guid>
		<dc:creator>Noah</dc:creator>
	</item>
	<item>
		<title>Re: Look at me! Windows Image Acquisition</title>
		<description>
			<![CDATA[ <p>Wow, it's simple and shows everything what I need to do to capture using WIA. </p><p>Thannks.</p><p>posted by Eric</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634232304000000000</link>
		<pubDate>Thu, 21 Oct 2010 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition#c634232304000000000</guid>
		<dc:creator>Eric</dc:creator>
	</item>
</channel>
</rss>