Top "Compact-framework" questions

Microsoft .Net Compact Framework (compact-framework, .netcf) is a constrained version of Microsoft .Net Framework designed for limited resource devices such as mobile phones, personal digital assistants and other embedded devices.

Windows CE 7 Emulator and Programming

My company is thinking of switching to these handheld units: https://www.barcodesinc.com/motorola/part-mc32n0-gi4hcheia.htm#…

c# visual-studio visual-studio-2012 compact-framework windows-embedded-compact
What are the most valuable .Net Compact Framework Tips, Tricks, and Gotcha-Avoiders?

We work extensively in the .Net Compact Framework and Windows Mobile. I've seen plenty of questions come up regarding specifics …

.net windows-mobile compact-framework
Disable compiler optimisation for a specific function or block of code (C#)

The compiler does a great job of optimising for RELEASE builds, but occasionally it can be useful to ensure that …

c# .net optimization compact-framework compiler-optimization
In C#, how can I tell if a property is static? (.Net CF 2.0)

FieldInfo has an IsStatic member, but PropertyInfo doesn't. I assume I'm just overlooking what I need. Type type = someObject.GetType(); …

c# reflection compact-framework
How do I continue running after an unhandled exception?

I have the following code in my application that is running after an unhandled exception: AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(…

c# compact-framework windows-mobile-6
How can I determine whether a column exists in a SQL Server CE table with C#?

The legacy code does it this way: public bool isValidField(string tableName, string fieldName) { bool retVal; string tblQuery = string.Format("…

c# sql compact-framework sql-server-ce windows-ce
How do you get the current directory in compact framework?

How do you get the current directory where your app is running?

windows-mobile compact-framework
How to get selected row in DataGrid in smartphone application?

I am working on a smartphone application, where I have a DataGrid in winform. I want to get the value …

.net datagrid compact-framework smartphone
Designing forms to work on different resolutions and aspect ratios on Windows CE

I have a .NET 2.0 application that runs on Compact Framework. It has a bunch of different forms that were all …

c# winforms compact-framework .net-2.0 windows-ce