<?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 - Craig Jensen - Windows Embedded for Point of Sale</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/166200_100x75.jpg</url>
		<title>Channel 9 - Craig Jensen - Windows Embedded for Point of Sale</title>
		<link></link>
	</image>
	<description>Did you know that Windows Embedded operating system runs many of the world&#39;s cash registers? Well, Mike Hall takes his camcorder over to meet Craig Jensen, a developer on the&amp;nbsp;Embedded for Point of Sale&amp;nbsp;team and he takes you through coding up a point of
 sale system.The team, this week, released 
Windows Embedded for Point of Service 1.1 and Mike Hall has more details on WEPOS on his blog.
</description>
	<link></link>
	<language>en</language>
	<pubDate>Wed, 19 Jun 2013 15:40:40 GMT</pubDate>
	<lastBuildDate>Wed, 19 Jun 2013 15:40:40 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Craig Jensen - Windows Embedded for Point of Sale</title>
		<description>
			<![CDATA[I'm developing a pos system at the moment using .net but am I allowed to install Windows embedded on a&nbsp;normal desktop&nbsp;computer that is dedicated for POS?<p>posted by ZippyV</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632776256530000000</link>
		<pubDate>Fri, 10 Mar 2006 22:14:13 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632776256530000000</guid>
		<dc:creator>ZippyV</dc:creator>
	</item>
	<item>
		<title>Re: Craig Jensen - Windows Embedded for Point of Sale</title>
		<description>
			<![CDATA[Yes, one of the changes with the WEPOS 1.1 release is that you can install the .NET POS bits on a Windows XP machine.<br /><br />More information available on my blog - <a href="http://blogs.msdn.com/mikehall/archive/2006/03/09/547327.aspx">
http://blogs.msdn.com/mikehall/archive/2006/03/09/547327.aspx</a>&nbsp;<br /><br />- Mike<p>posted by mikehall</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632776270160000000</link>
		<pubDate>Fri, 10 Mar 2006 22:36:56 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632776270160000000</guid>
		<dc:creator>mikehall</dc:creator>
	</item>
	<item>
		<title>Re: Craig Jensen - Windows Embedded for Point of Sale</title>
		<description>
			<![CDATA[Great, last question: Is the package&nbsp;available outside the US/Canada like Europe? What about hardware? Touchscreens?<p>posted by ZippyV</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632776286470000000</link>
		<pubDate>Fri, 10 Mar 2006 23:04:07 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632776286470000000</guid>
		<dc:creator>ZippyV</dc:creator>
	</item>
	<item>
		<title>Re: Craig Jensen - Windows Embedded for Point of Sale</title>
		<description>
			<![CDATA[yes - the WEPOS bits are available world-wide.<br /><br />There are two ways the WEPOS product can be used.<br /><br />1. Install the WEPOS operating system onto your POS hardware - the operating system installs in much the same way as Windows XP Professional - you can also install the WEPOS SDK on your development PC and write code in Visual Studio 2003 or 2005. The WEPOS
 Evaluation kit can be ordered from <a href="http://www.windowsembeddedkit.com">http://www.windowsembeddedkit.com</a>
<br /><br />2. Download the WEPOS SDK from MSDN (link on my blog) - <a href="http://blogs.msdn.com/mikehall/archive/2006/03/09/547327.aspx">
http://blogs.msdn.com/mikehall/archive/2006/03/09/547327.aspx</a>&nbsp;- you can code and test on your development PC and deploy either to a WEPOS O/S Install or to a Windows XP machine.<br /><br />- Mike<p>posted by mikehall</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632777119960000000</link>
		<pubDate>Sat, 11 Mar 2006 22:13:16 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632777119960000000</guid>
		<dc:creator>mikehall</dc:creator>
	</item>
	<item>
		<title>Re: Craig Jensen - Windows Embedded for Point of Sale</title>
		<description>
			<![CDATA[Looks pretty cool. Can you guys mention any specific stores that use this technology?<p>posted by DigitalDud</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632778097080000000</link>
		<pubDate>Mon, 13 Mar 2006 01:21:48 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632778097080000000</guid>
		<dc:creator>DigitalDud</dc:creator>
	</item>
	<item>
		<title>Re: Craig Jensen - Windows Embedded for Point of Sale</title>
		<description>
			<![CDATA[I've seen your video. It's very impressed. I'm developing POS application on Windows XP Pro platform. I've installed POS for .NET 1.1 on my box and I've got VS Studio 2005. I followed what you did in the video but I got an unhandled exception of type System.Reflection.TargetInvocationException
 occurred in&nbsp; mscorlib.dll (on the line that does type conversion - &quot;display = (LineDisplay) explorer.CreateInstance(device)).
<br /><br />Can you help me on what I did wrong?<br /><br />Or is there any&nbsp;POS for .NET&nbsp;document or example for WinXP Pro or even on WePOS itself?<br /><br />Regard,<br />Tom<p>posted by sirodom</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632785171060000000</link>
		<pubDate>Tue, 21 Mar 2006 05:51:46 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632785171060000000</guid>
		<dc:creator>sirodom</dc:creator>
	</item>
	<item>
		<title>Re: Craig Jensen - Windows Embedded for Point of Sale</title>
		<description>
			<![CDATA[
<p>Craig mentions in this video that you can create a service object in like a day.&nbsp;&nbsp; Is this correct?&nbsp; An OPOS Service Object development for a POS Printer took us months.&nbsp; I don't see how this can be unless I have the terminology incorrect.</p>
<p>posted by guitarweirdo</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632788166380000000</link>
		<pubDate>Fri, 24 Mar 2006 17:03:58 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632788166380000000</guid>
		<dc:creator>guitarweirdo</dc:creator>
	</item>
	<item>
		<title>Re: Craig Jensen - Windows Embedded for Point of Sale</title>
		<description>
			<![CDATA[I am having trouble getting this to work with the ithaca 610 (also known as the itherm series 280 ). do you think you can give me a hand ? someone got an Email that I can&nbsp;send my project to&nbsp;or something. thanks.<p>posted by roger_27</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632981928050000000</link>
		<pubDate>Fri, 03 Nov 2006 23:20:05 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c632981928050000000</guid>
		<dc:creator>roger_27</dc:creator>
	</item>
	<item>
		<title>Re: Craig Jensen - Windows Embedded for Point of Sale</title>
		<description>
			<![CDATA[
<p>Hi, <br /><br />I'm building a POS applications for MSR device&nbsp;(this is Megtak device MICR MICRIMAGE RS232 W/3TK MSR ) using Visual Studio 2005, framework 2.0 and the POS .NET SDK 1.12.but when i have run the application there is nothing happing.can u tell me what i did wrong.<br /><br />***************<br />&nbsp;OS: Xp with service pack 2<br />&nbsp; Vishul Studio 2005<br />&nbsp; .Net Framework 2.0<br />&nbsp; Installed: Microsoft POS for NET 1.12<br />&nbsp; link:<br />&nbsp; <a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=eaae202a-0fcc-406a-8fde-35713d7841ca&amp;displaylang=en">
https://www.microsoft.com/downloads/details.aspx?FamilyID=eaae202a-0fcc-406a-8fde-35713d7841ca&amp;displaylang=en</a><br />&nbsp;Add referance &quot;Microsoft.PointOfService&quot;<br /></p>
<p>my Code here:<br />*************************************<br />&nbsp;private PosExplorer myExplorer;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private Msr myMSR;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public Form1()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; InitializeComponent();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myExplorer = new PosExplorer(this);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myExplorer.DeviceAddedEvent &#43;= new DeviceChangedEventHandler(myExplorer_DeviceAddedEvent);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myExplorer.DeviceRemovedEvent &#43;= new DeviceChangedEventHandler(myExplorer_DeviceRemovedEvent);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />**********************************<br />&nbsp;void myExplorer_DeviceAddedEvent(object sender, DeviceChangedEventArgs e)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(e.Device.Type == &quot;Msr&quot;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR = (Msr) myExplorer.CreateInstance(e.Device);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblStatus.Text = &quot;New Msr attached: &quot; &#43; e.Device.ServiceObjectName;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.Open();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.Claim(1000);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DeviceEnabled = true;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DataEventEnabled = true;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DecodeData = true;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Update();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DataEvent &#43;=new DataEventHandler(myMSR_DataEvent);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />******************************************************<br />&nbsp;void myExplorer_DeviceRemovedEvent(object sender, DeviceChangedEventArgs e)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (e.Device.Type == &quot;Msr&quot;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DataEventEnabled = false;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.Close();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblStatus.Text = &quot;New Msr removed&quot;;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />*********************************************************<br />&nbsp;void myMSR_DataEvent(object sender, DataEventArgs e)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASCIIEncoding myEncoding = new ASCIIEncoding();</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txtInput.Text = myEncoding.GetString(myMSR.Track2Data);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblStatus.Text = &quot;Data Event&quot;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Update();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DataEventEnabled = true;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>Regards<br />mcamail2002@gmail.com</p>
<p>&nbsp;</p>
<p><br />***************************************************************</p>
<p>&nbsp;&nbsp; </p>
<p>posted by mcamail2002</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c633464374340000000</link>
		<pubDate>Thu, 15 May 2008 08:37:14 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c633464374340000000</guid>
		<dc:creator>mcamail2002</dc:creator>
	</item>
	<item>
		<title>Re: Craig Jensen - Windows Embedded for Point of Sale</title>
		<description>
			<![CDATA[
<p>Hi, <br /><br />I'm building a POS applications for MSR device&nbsp;(this is Megtak device MICR MICRIMAGE RS232 W/3TK MSR ) using Visual Studio 2005, framework 2.0 and the POS .NET SDK 1.12.but when i have run the application there is nothing happing.can u tell me what i did wrong.<br /><br />***************<br />&nbsp;OS: Xp with service pack 2<br />&nbsp; Vishul Studio 2005<br />&nbsp; .Net Framework 2.0<br />&nbsp; Installed: Microsoft POS for NET 1.12<br />&nbsp; link:<br />&nbsp; <a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=eaae202a-0fcc-406a-8fde-35713d7841ca&amp;displaylang=en">
https://www.microsoft.com/downloads/details.aspx?FamilyID=eaae202a-0fcc-406a-8fde-35713d7841ca&amp;displaylang=en</a><br />&nbsp;Add referance &quot;Microsoft.PointOfService&quot;<br /></p>
<p>my Code here:<br />*************************************<br />&nbsp;private PosExplorer myExplorer;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private Msr myMSR;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public Form1()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; InitializeComponent();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myExplorer = new PosExplorer(this);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myExplorer.DeviceAddedEvent &#43;= new DeviceChangedEventHandler(myExplorer_DeviceAddedEvent);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myExplorer.DeviceRemovedEvent &#43;= new DeviceChangedEventHandler(myExplorer_DeviceRemovedEvent);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />**********************************<br />&nbsp;void myExplorer_DeviceAddedEvent(object sender, DeviceChangedEventArgs e)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(e.Device.Type == &quot;Msr&quot;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR = (Msr) myExplorer.CreateInstance(e.Device);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblStatus.Text = &quot;New Msr attached: &quot; &#43; e.Device.ServiceObjectName;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.Open();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.Claim(1000);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DeviceEnabled = true;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DataEventEnabled = true;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DecodeData = true;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Update();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DataEvent &#43;=new DataEventHandler(myMSR_DataEvent);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />******************************************************<br />&nbsp;void myExplorer_DeviceRemovedEvent(object sender, DeviceChangedEventArgs e)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (e.Device.Type == &quot;Msr&quot;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DataEventEnabled = false;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.Close();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblStatus.Text = &quot;New Msr removed&quot;;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />*********************************************************<br />&nbsp;void myMSR_DataEvent(object sender, DataEventArgs e)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASCIIEncoding myEncoding = new ASCIIEncoding();</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txtInput.Text = myEncoding.GetString(myMSR.Track2Data);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblStatus.Text = &quot;Data Event&quot;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Update();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myMSR.DataEventEnabled = true;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />Regards<br />mcamail2002@gmail.com<br />***************************************************************</p>
<p>&nbsp;&nbsp; </p>
<p>posted by mcamail2002</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c633464375240000000</link>
		<pubDate>Thu, 15 May 2008 08:38:44 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/scobleizer/Craig-Jensen-Windows-Embedded-for-Point-of-Sale#c633464375240000000</guid>
		<dc:creator>mcamail2002</dc:creator>
	</item>
</channel>
</rss>