<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Silverlight 4 &#8211; Accessing System Devices with Com Interop, such as a Scanner.</title>
	<atom:link href="http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/</link>
	<description></description>
	<lastBuildDate>Mon, 06 Sep 2010 17:48:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brian Lagunas</title>
		<link>http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/comment-page-1/#comment-56774</link>
		<dc:creator>Brian Lagunas</dc:creator>
		<pubDate>Tue, 04 May 2010 00:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/#comment-56774</guid>
		<description>&lt;a href=&quot;#comment-56760&quot; rel=&quot;nofollow&quot;&gt;@Wajid &lt;/a&gt; 

That is because the AutomationFactory class is a Silverlight class library.  If you want to use WIA in WinForms just add a refernce to wiaaut.dll.  You have to download the WIA dll from Microsoft.com and then browse to the dll and add it to your project.  I am assuming that you are specifically talking about the scanner/camera functionality.  Otherwise you can use other methods to accomplish the other functionality.</description>
		<content:encoded><![CDATA[<p><a href="#comment-56760" rel="nofollow">@Wajid </a> </p>
<p>That is because the AutomationFactory class is a Silverlight class library.  If you want to use WIA in WinForms just add a refernce to wiaaut.dll.  You have to download the WIA dll from Microsoft.com and then browse to the dll and add it to your project.  I am assuming that you are specifically talking about the scanner/camera functionality.  Otherwise you can use other methods to accomplish the other functionality.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wajid</title>
		<link>http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/comment-page-1/#comment-56760</link>
		<dc:creator>Wajid</dc:creator>
		<pubDate>Mon, 03 May 2010 12:49:21 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/#comment-56760</guid>
		<description>Hi,very good work, I downloaded your code and change (ComAutomationFactory)
to (AutomationFactory)and evrything just fine,I wonder How to use
(AutomationFactory)in Windows Forms Apps wihtout the error
(The type initializer for &#039;MS.Internal.JoltHelper&#039; threw an exception.) that i get ?.</description>
		<content:encoded><![CDATA[<p>Hi,very good work, I downloaded your code and change (ComAutomationFactory)<br />
to (AutomationFactory)and evrything just fine,I wonder How to use<br />
(AutomationFactory)in Windows Forms Apps wihtout the error<br />
(The type initializer for &#8216;MS.Internal.JoltHelper&#8217; threw an exception.) that i get ?.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; Text-To-Speech in Silverlight Using WCF</title>
		<link>http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/comment-page-1/#comment-54278</link>
		<dc:creator>Elegant Code &#187; Text-To-Speech in Silverlight Using WCF</dc:creator>
		<pubDate>Sun, 07 Mar 2010 07:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/#comment-54278</guid>
		<description>[...] in February, I wrote a blog post showing you how to, using Silverlight 4 OOB (out of browser) with elevated trust, access system [...]</description>
		<content:encoded><![CDATA[<p>[...] in February, I wrote a blog post showing you how to, using Silverlight 4 OOB (out of browser) with elevated trust, access system [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Text-To-Speech in Silverlight Using WCF &#171; &#60; web:Blog x:Name=&#34;Brian Lagunas&#34; /&#62;</title>
		<link>http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/comment-page-1/#comment-54277</link>
		<dc:creator>Text-To-Speech in Silverlight Using WCF &#171; &#60; web:Blog x:Name=&#34;Brian Lagunas&#34; /&#62;</dc:creator>
		<pubDate>Sun, 07 Mar 2010 07:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/#comment-54277</guid>
		<description>[...] in February, I wrote a blog post showing you how to, using Silverlight 4 OOB (out of browser) with elevated trust, access system [...]</description>
		<content:encoded><![CDATA[<p>[...] in February, I wrote a blog post showing you how to, using Silverlight 4 OOB (out of browser) with elevated trust, access system [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Morning Brew - Chris Alcock &#187; The Morning Brew #544</title>
		<link>http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/comment-page-1/#comment-53942</link>
		<dc:creator>The Morning Brew - Chris Alcock &#187; The Morning Brew #544</dc:creator>
		<pubDate>Mon, 22 Feb 2010 08:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/#comment-53942</guid>
		<description>[...] Silverlight 4 - Accessing System Devices with Com Interop, such as a Scanner. - Brian Lagunas takes a quick look at COM interop from Silverlight using Out Of Browser applications, showing how it can interact with other applications (Outlook, Excel), running other applications, and doing Text to Speech and acquiring images from a scanner. [...]</description>
		<content:encoded><![CDATA[<p>[...] Silverlight 4 &#8211; Accessing System Devices with Com Interop, such as a Scanner. &#8211; Brian Lagunas takes a quick look at COM interop from Silverlight using Out Of Browser applications, showing how it can interact with other applications (Outlook, Excel), running other applications, and doing Text to Speech and acquiring images from a scanner. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Lagunas</title>
		<link>http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/comment-page-1/#comment-53901</link>
		<dc:creator>Brian Lagunas</dc:creator>
		<pubDate>Sat, 20 Feb 2010 16:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/#comment-53901</guid>
		<description>&lt;a href=&quot;#comment-53898&quot; rel=&quot;nofollow&quot;&gt;@punkcoder &lt;/a&gt; 

You are correct, there is no COM+  support for Macs in SL 4 Beta 1, but there is a good reason for that; Mac doesn&#039;t have COM+ . Macs do have similar access to COM using AppleScript. There is a rumor in the air that Microsoft has stated that they will try to support COM interop in Macs with SL 4 RTM. In order to do this I suspect they will either allow executing AppleScript, or extend the ComAutomationFactory class to return ApplScript objects. Even if they don&#039;t support COM for Mac, doesn&#039;t it make sense to at least support the OS and applications they make? Chances are if your doing Microsoft Office interop, your not on a Mac.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53898" rel="nofollow">@punkcoder </a> </p>
<p>You are correct, there is no COM+  support for Macs in SL 4 Beta 1, but there is a good reason for that; Mac doesn&#8217;t have COM+ . Macs do have similar access to COM using AppleScript. There is a rumor in the air that Microsoft has stated that they will try to support COM interop in Macs with SL 4 RTM. In order to do this I suspect they will either allow executing AppleScript, or extend the ComAutomationFactory class to return ApplScript objects. Even if they don&#8217;t support COM for Mac, doesn&#8217;t it make sense to at least support the OS and applications they make? Chances are if your doing Microsoft Office interop, your not on a Mac.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: punkcoder</title>
		<link>http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/comment-page-1/#comment-53898</link>
		<dc:creator>punkcoder</dc:creator>
		<pubDate>Sat, 20 Feb 2010 14:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/#comment-53898</guid>
		<description>While I think these examples you gave are pretty nice, we could definitely use the Excel support in our current Silverlight app at work; it seems that starting with Silverlight 4 Microsoft is adding features that will only work on the Windows platform.  Silverlight was supposed to be this competitor to Flash for creating RIAs that run on Windows and Mac, and Linux through Moonlight.  Once they add COM support, they are starting down a road of platform specific features.</description>
		<content:encoded><![CDATA[<p>While I think these examples you gave are pretty nice, we could definitely use the Excel support in our current Silverlight app at work; it seems that starting with Silverlight 4 Microsoft is adding features that will only work on the Windows platform.  Silverlight was supposed to be this competitor to Flash for creating RIAs that run on Windows and Mac, and Linux through Moonlight.  Once they add COM support, they are starting down a road of platform specific features.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
