Craig Jensen - Windows Embedded for Point of Sale

Craig mentions in this video that you can create a service object in like a day. Is this correct? An OPOS Service Object development for a POS Printer took us months. I don't see how this can be unless I have the terminology incorrect.
Hi,
I'm building a POS applications for MSR device (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.
***************
OS: Xp with service pack 2
Vishul Studio 2005
.Net Framework 2.0
Installed: Microsoft POS for NET 1.12
link:
https://www.microsoft.com/downloads/details.aspx?FamilyID=eaae202a-0fcc-406a-8fde-35713d7841ca&displaylang=en
Add referance "Microsoft.PointOfService"
my Code here:
*************************************
private PosExplorer myExplorer;
private Msr myMSR;
public Form1()
{
InitializeComponent();
myExplorer = new PosExplorer(this);
myExplorer.DeviceAddedEvent += new DeviceChangedEventHandler(myExplorer_DeviceAddedEvent);
myExplorer.DeviceRemovedEvent += new DeviceChangedEventHandler(myExplorer_DeviceRemovedEvent);
}
**********************************
void myExplorer_DeviceAddedEvent(object sender, DeviceChangedEventArgs e)
{
if(e.Device.Type == "Msr")
{
myMSR = (Msr) myExplorer.CreateInstance(e.Device);
lblStatus.Text = "New Msr attached: " + e.Device.ServiceObjectName;
myMSR.Open();
myMSR.Claim(1000);
myMSR.DeviceEnabled = true;
myMSR.DataEventEnabled = true;
myMSR.DecodeData = true;
Update();
myMSR.DataEvent +=new DataEventHandler(myMSR_DataEvent);
}
}
******************************************************
void myExplorer_DeviceRemovedEvent(object sender, DeviceChangedEventArgs e)
{
if (e.Device.Type == "Msr")
{
myMSR.DataEventEnabled = false;
myMSR.Close();
lblStatus.Text = "New Msr removed";
}
}
*********************************************************
void myMSR_DataEvent(object sender, DataEventArgs e)
{
ASCIIEncoding myEncoding = new ASCIIEncoding();
txtInput.Text = myEncoding.GetString(myMSR.Track2Data);
lblStatus.Text = "Data Event";
Update();
myMSR.DataEventEnabled = true;
}
Regards
mcamail2002@gmail.com
***************************************************************
Hi,
I'm building a POS applications for MSR device (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.
***************
OS: Xp with service pack 2
Vishul Studio 2005
.Net Framework 2.0
Installed: Microsoft POS for NET 1.12
link:
https://www.microsoft.com/downloads/details.aspx?FamilyID=eaae202a-0fcc-406a-8fde-35713d7841ca&displaylang=en
Add referance "Microsoft.PointOfService"
my Code here:
*************************************
private PosExplorer myExplorer;
private Msr myMSR;
public Form1()
{
InitializeComponent();
myExplorer = new PosExplorer(this);
myExplorer.DeviceAddedEvent += new DeviceChangedEventHandler(myExplorer_DeviceAddedEvent);
myExplorer.DeviceRemovedEvent += new DeviceChangedEventHandler(myExplorer_DeviceRemovedEvent);
}
**********************************
void myExplorer_DeviceAddedEvent(object sender, DeviceChangedEventArgs e)
{
if(e.Device.Type == "Msr")
{
myMSR = (Msr) myExplorer.CreateInstance(e.Device);
lblStatus.Text = "New Msr attached: " + e.Device.ServiceObjectName;
myMSR.Open();
myMSR.Claim(1000);
myMSR.DeviceEnabled = true;
myMSR.DataEventEnabled = true;
myMSR.DecodeData = true;
Update();
myMSR.DataEvent +=new DataEventHandler(myMSR_DataEvent);
}
}
******************************************************
void myExplorer_DeviceRemovedEvent(object sender, DeviceChangedEventArgs e)
{
if (e.Device.Type == "Msr")
{
myMSR.DataEventEnabled = false;
myMSR.Close();
lblStatus.Text = "New Msr removed";
}
}
*********************************************************
void myMSR_DataEvent(object sender, DataEventArgs e)
{
ASCIIEncoding myEncoding = new ASCIIEncoding();
txtInput.Text = myEncoding.GetString(myMSR.Track2Data);
lblStatus.Text = "Data Event";
Update();
myMSR.DataEventEnabled = true;
}
Regards
mcamail2002@gmail.com
***************************************************************