new PosExplorer exception
-
Friday, July 13, 2012 10:55 AM
Hi,
I'm at the very beginning of developing in Pos.Net.
I bought the Professional Guide to Pos.Net (a very good book) and I started with the first exercise.
When I try to instantiate the PosExplorer class I receive a general exception...
My example is the very simple. My Form, after the InitializeCmponent(), has
myExplorer = new PosExplorer(this);
and there is an exception.
In my machine (WIN 7 64 BIT) I have VS2010 and only the 1.12 SDK installed.
Someone can help me??
Thanks in advance
- Edited by StefanoVayra Friday, July 13, 2012 12:23 PM
- Moved by Terry WarwickMicrosoft Employee, Owner Friday, July 13, 2012 10:32 PM Wrong Forum (From:Windows Embedded POSReady)
All Replies
-
Friday, July 13, 2012 12:24 PMAnswerer
This is the POSReady forum. There is a POS for .NET forum available so you can get the most feedback - http://social.msdn.microsoft.com/Forums/en-US/posfordotnet/threads
Do you have .NET 2.0 installed on the system?
-Sean
www.sjjmicro.com / www.seanliming.com / www.annabooks.com, Book Author - Pro Guide to WES 7, XP Embedded Advanced, Pro Guide to POS for .NET
-
Friday, July 13, 2012 12:42 PM
Thank you.
In the meanwhile I found the problem.
My Program Setting was on Framework 4.0. Downgrade to 3.5 it works....
Thank you
- Edited by StefanoVayra Friday, July 13, 2012 1:46 PM
- Proposed As Answer by Sean LimingMVP, Editor Friday, July 13, 2012 6:54 PM
- Marked As Answer by Sean LimingMVP, Editor Saturday, July 14, 2012 12:55 AM
-
Friday, July 13, 2012 6:54 PMAnswerer
Excellent. POS for .NET requires .NET 2.0, thus applications cannot be created higher than 3.51.
-Sean
www.sjjmicro.com / www.seanliming.com / www.annabooks.com, Book Author - Pro Guide to WES 7, XP Embedded Advanced, Pro Guide to POS for .NET
-
Friday, July 13, 2012 10:32 PMOwner
You can use POS for .NET with .NET 4.0 but need to set the security model in the config file of .NET 4.0. POS for .NET uses a security model that has been disabled in .NET 4.0, but otherwise it should work just fine.
Terry Warwick
Microsoft

