Click here to Skip to main content
15,892,537 members
Everything / .NET / .NET CF

.NET CF

.NETCF

Great Reads

by Stephen Cleary
How to detect a dropped TCP/IP connection
by Fredrik Bornander
How to implement an iPhone style icon menu using the .NET Compact Framework.
by Tamer Oz
PocketPcAgent is an application that can be installed on Windows Mobile devices that are running Windows Mobile 5.0 or higher. The application listens to events such as SMS Received, Call Missed, E-Mail Received, Battery Strength Changed, and much more on the Pocket PC.
by Brian P. Adams
A full-featured Task Manager for Windows Mobile.

Latest Articles

by John Newcombe
6502 Cross Assembly using MacOS and Atom
by John Newcombe
6502 Cross Assembly for the Apple II using MacOS
by Lee P Richardson
Xamarin vs Ionic: A Mobile, Cross Platform, Shootout
by defwebserver
You can create database driven .Net Core applications using JavaScriptServices, and PrimeNG.

All Articles

Sort by Updated

.NET CF 

19 Mar 2010 by #realJSOP
I'm trying to get the latest installed version of .NET on a given machine. I've tried a couple of different ways, but it keeps coming back with 2.0, which is curious since I'm running a WPF app on a machine that I *KNOW* has 3.5 SP1 on it.How should I go about properly retrieving the .NET...
20 Apr 2011 by #realJSOP
You want to use this:Path.GetDirectoryName(Application.ExecutablePath);
15 Aug 2009 by 0x3c0
The process you're talking about is called simplifying. I would assume it's done by going through each element (where element 0 is 2x2, element 1 is -5x2, etc) and making a note of each unique index (the power). When you encounter an index that's...
5 Mar 2015 by 65Goat
This contest submission is for a home monitoring solution that reads temperature, humidity and states from various sensors around a home. The data is stored in Azure and can be accessed via mobile devices.
5 Oct 2007 by 8r13n
Simple example of how to build a finger controlled list that runs smoothly
28 Jul 2014 by _Amy
I think it's because you have not defined WirelessNetworkInterface object to anything by default, so the compiler flags this as undefined behavior. Try setting it to null before you use it in your program. And also it's good practice to initialize reference types to null if you don't assign...
26 Apr 2011 by _Ares!!!
Hi all!I used the netcfSvcUtil.exe tool to generate the wcf service the mobile client will use to connect to the server.The client uses a basicHttpBinding, which is required for WCF on the compact framework. There isn't TransferMode="Streamed". There's only TransferMode="Buffered".I...
13 Dec 2009 by Abhinav S
Prism is not really a deployment tool. It is an application framework that intends to build 'modular' appications. You can go through some features of Prism on its website.BTW - it is meant to be used with WPF OR Silverlight.
26 Apr 2011 by Abhinav S
This[^] thread could help you.
5 Jul 2011 by Abhinav S
Try searching on the internet to see if you can find some samples.
2 Mar 2005 by Ach1lles
A simple technique for selecting random records from a table.
26 Jul 2009 by Adam Maras
ChiSmile wrote:dt = New DataTabledt = dSet1.Tables("Patient_Profile")Yes, you're indeed initializing dt, but then you're reassigning it the value of dSet1.Tables("Patient_Profile"). Make sure you actually have a table in dSet1 called...
15 Aug 2009 by Adam Maras
Be sure you've assigned an icon to NotifyIcon component. Unlike Forms, there's no default icon for tray icons (so they won't show unless you've assigned one). Adam Maras | Software DeveloperMicrosoft Certified Professional Developer
15 Jul 2009 by Adam R Harris
If I'm understanding you right, you are trying to get rid of the dialog that pops up telling the user to uninstall the existing version before installing this version.If thats right, I had a similar problem not to long ago. The solution is simple...
27 Mar 2004 by Adrian Stanley
The SortListView control extends the existing ListView control in the .NET Compact Framework, so that it will sort items, and display the sort status in the column header.
8 Apr 2004 by Adrian Stanley
This article describes how to combine managed and unmanaged projects into a single Visual Studio .NET solution.
8 Dec 2015 by Afzaal Ahmad Zeeshan
If you are a C# fan and want to build applications that reuse the code base for multiple frameworks and platforms, read this post, it would help you "get started".
1 Feb 2008 by Agha Zair Ali
A way to capture signature on Pocket PC and saving as BMP file
5 Aug 2014 by agleave
Hi, I am developing an app for Windows Mobile devices (target device is the Motorola ES400) I am trying to get a datagrid to have a row height of 30. I am using the following code:datagrid1.PreferredRowHeight = 30Now this is where it is confusing me, when I use the Windows Mobile 6.5.3...
16 Aug 2009 by agyzone@gmail.com
I was trying to build a program to clean temp, unwanted, junk files from applications like chat clients, browsers, p2p applications, on windows platform. Can anyone please provide some guidance on how to proceed.
22 Jan 2012 by ahmedfaruk88
Hi Guys, can any one clearly explain the Diiference between Windows CE, Windows Embedded Compact and .NET Compact Framework. I am new to windows mobile, PDA Development using VS, I am looking forward to designing a PDA Application running windows CE 5.0, What are the software requirement, Best...
21 Mar 2016 by Ajay K.S
When tried to install .Net core using the powershell command and also the set up directly, it's showing some .NET dependency error. I was wondering if I could use this .NET Core without installing .NET 4.0 components.Can .Net core can be installed in systems with .NET framework
12 Apr 2016 by Ajay K.S
I've created a sample app to get an idea on .Net Core with Web -> ConsoleApp(Package). When I tried to compile, its working fine and able to dnu publish also.see dnu publish result.But when I tried to dotnet publish, it's working but there's no exe only dll and pdb files.see dotnet...
24 Dec 2015 by Alaa-eddine KADDOURI
If you are reading this you already know that nodejs is a powerful engine for your realtime application or multiplayer game. But it’s not easy to setup an up and running platform, which is self monitored.
18 Feb 2010 by Alaric Dailey
This articles code may give you what you are looking forWhile the explanation of the code in the article leaves something to be desired, it does cover hooking into events including global events that aren't destined for your window, specifically mouse and keyboard hooks. This may or not...
20 Mar 2011 by Albin Abel
This would be the helpful link for youhttp://www.google.co.in/mobile/default/maps.html[^]It says Download Google Maps for mobile to your phone and never carry a paper map again. Google Maps on your phone makes it easy to: * Determine your current location, with or without GPS ...
13 Jan 2010 by Alejandro Barrada
How to use an XML file to read and write aplication settings in a Window Mobile development
20 Mar 2007 by aleksisa
Perform Backup SQL Server Database using Web Method/Web Service from Mobile Device
17 Apr 2007 by aleksisa
A Web Method to display a server's logical disks remotely on a mobile device.
25 Jul 2007 by aleksisa
Create an Open File Dialog for a Windows Mobile 6 (SmartPhone) devices.
20 Nov 2012 by Alex Cardos
On the windows mobile properties for the form, you can select the Form State to be maximized. There are also dll imports you can use to hide the Start Icon and SIP Buttons.Below is the code I use to hide the Taskbar and SIP Buttons#region SHFullscreen#region FullScreen...
24 May 2012 by Alex-1978
Hi everybody,I'm developing an application for Windows CE 6.0 using .Net CF 2.0.I have an auto-generated client for an ASP.NET web service.Is it possible to set the client in such a way it would use gzip/deflate compression when communicating with the web-service ?Unfortunately, I...
25 Jan 2005 by Alexander Turlov
This document describes how to implement conditional or cyclic invoking of methods using such features of C# and the .NET Framework as delegates and Reflection. The document contains a number of C# code examples with comments.
20 Apr 2005 by Alexander Turlov
This document demonstrates a simple way of business dates calculation using standard features of the .NET Framework Library.
22 Jan 2012 by Ali Daneshmandi
Restaurant and Waiter project! (WPF - Windows Mobile)
23 Jan 2007 by Alireza Naghizadeh
This is an algorithm formula to calculate round time...
29 May 2005 by Alon Ronen
A combobox holding pictures as the items themselves and not just drawing them on run-time.
24 Mar 2010 by Amir Krifa
A C# wrapper for nearby Bluetooth devices discovery under Windows Mobile that uses a C++ DLL built based on the Winsock 2 API.
4 Jul 2010 by Amit Kumar Tiwari
This code sends automatic SMS to birthday boys/girls :) from phone
7 Apr 2011 by Amit Kumar Tiwari
Try the article @ http://blogs.msdn.com/b/windowsmobile/archive/2006/06/07/620387.aspx[^]
1 May 2012 by Ana Carolina Zambon
Introduction for beginners on how to dynamically instantiate external types
6 Jun 2011 by Andrew Rissing
Caching is really your best bet to achieve 'fast' reflection on the compact framework.
27 Jun 2007 by andrewcates
Auto Increment Assembly Version in a Microsoft Build Task
28 Sep 2008 by AndrewSmith
A plunge into creating a fast, full text index, with advanced searching capabilites.
6 Nov 2006 by Andy Aspell-Clark
A ToDoList program for the Pocket PC.
23 Apr 2004 by Andy Weston
The Pocket Fuzzy Quotient Calculator is a .NET Compact Framework sample application that calculates your FQ based on your mood.
4 Dec 2009 by AndyP1965
Look closer to the socket error code! The number 10038 means: No socket discriptor. That means the Object you are using is possibly no socket and when you look to your code you see:Socket socket = (Socket)ar.AsyncState;But the AsyncState is no Socket but a SocketStateObject. So you hardcast...
29 Nov 2008 by Angel Kafazov
This article explains how to write your custom DirectShow SampleGrabber filter for Windows Mobile.
14 Jan 2009 by Anil_gupta
This article describes how to get notification when a Windows CE based device is connected or disconnected from a desktop machine.
10 Feb 2014 by ankitkamdar
How can I get DataGrid cell value At Execution Time in WPF.Actually Problem Is That I Take To Columns in datagrid one is string and another column is Combobox and I cant get Combobox value so how can i get Combobox value???? i want to store it in a variable
18 Feb 2014 by ankitkamdar
Error 1 Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
11 Mar 2014 by ankitkamdar
There was no endpoint listening at http://localhost:999/DE.Web/WCFServices/DE_Service.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.OKpublic string getData(string Args, string Table)//...
15 Mar 2014 by ankitkamdar
I Have Installed Sql Server 2008 Full Edition And Also Full-text Search is installed. but the option is disable how to enable it.I Check Via this query SELECT DATABASEPROPERTY('DivineCampus','IsFulltextEnabled')and it return result 1;any one have idea about it than please solve it...
10 Aug 2009 by annathor
Maybe take a look at the rapi.dll and see if it does what you need, you need to p/invoke the methodes.Take a look hereAnd here
26 Apr 2004 by Anne Saouter
8 Jan 2007 by Anoop Pillai
This article is expected to (1) Introduce patterns to you in a simple, human readable way (2) Train you how to really identify and apply patterns (3) Demonstrate step by step methods to solve a design problem using patterns
17 Apr 2014 by Antonio Nakić Alfirević
Creating a library for persisting the application state data between work sessions
25 Feb 2013 by Anubhava Dimri
Hi Experts,I have face many time a Question. why the Integer size is 2,147,483,647 .What numeric datatype we are using if the length of data is more then 80 characters.If you have any suggestion or Solution for that then pls share it.Thanks
19 Nov 2012 by Anup_S
I am working in a Windows mobile project. Due to some project requirement I need to Hide the form's tittle bar, but didn't find any properties of the form to do so.Any suggestion would be appreciated.Thanks in advance
28 Jan 2008 by Ariadne
Little quick and dirty program (60 lines) which updates the version build number each time a release is built.
21 Aug 2005 by Arik Poznanski
This article will develop a Sudoku game based on a web service, while presenting useful development techniques of Smart Client applications.
1 Apr 2011 by Arik Poznanski
Flashcards.Show – Planning a Cross-Platform Solution
27 Jul 2009 by Arindam Sinha
Ways to demonstarte any Windows Mobile Application through emulator with out Visual Studio
14 Jun 2009 by Artem S. Dmitriev
This article will show you how to create a proxy client to the WCF web service from PDA device.
10 Nov 2004 by Ashish Kaila
An outlook style toolbar control in ASP.NET
26 Mar 2014 by ashok rathod
The Error Message itself depicts that there is some problem in web service communication(configuration problem or connection problem). -->By seeing your url first confirms that you are accessing service from the same machine where your service is located. as localhost is present in URL if...
15 Apr 2014 by Ashok8033
Hi ,http://technet.microsoft.com/en-us/library/ms403375(v=sql.105).aspx[^]In SQL Server 2008, all user-created databases are always full-text enabled and cannot be disabled. Regards,Ashok Kumar,
11 Oct 2013 by ASP.NET Community
While professional developers are waiting for the Visual Studio Tools and Designers for SQL Server Compact 4.0, I will show how impatient developers
17 Nov 2009 by AspDotNetDev
Hmm, I like what others have posted, but here are some other options you may want to consider:Mono is an open source and cross platform implementation of .Net. Mind you, though, that it doesn't have everything .Net has, such as WPF. It also has a bunch of bugs (or did last time I looked at it)
27 Dec 2007 by Asya Alshaikh
show how to call a web services inside ASP.NET web project. using a test published web services; Extentrix Web Services 2.0 Application Edition
17 Sep 2009 by Atanu Mandal
Windows Mobile - attractive UI (description about AlphaMobilecontrols).
2 Nov 2009 by Atanu Mandal
Windows Mobile - Attractive UI Part-II
11 Sep 2016 by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
1 Aug 2014 by B. Clay Shannon
Sending commands in a Compact Framework app via C# to a Zebra QLn220 printer
13 Nov 2014 by B. Clay Shannon
In recent versions of .NET, I can retrieve the enum value this way: public enum Packers{ Aaron_Rodgers = 12, Eddie_Lacy = 26, Jordy_Nelson = 87, Candle_Robb = 18, Clay_Matthews = 52, Julius_Peppers = 56};private void button4253147968_Click(object...
19 Jan 2015 by B. Clay Shannon
Step-by-step guide to add barcode-scanning capability to a Windows CE / Compact Framework app
24 Dec 2014 by B. Clay Shannon
From a C# app (Compact Framework, Windows CE app), I am trying to call a REST method on a server running on our internal network, but the call fails with "Could not establish secure channel for SSL/TLS ...System.Net.Sockets.SocketException: An existing connection was forcibly closed by the...
2 Feb 2009 by Babak Ansari
Work with the PtxRfidNet.dll SDKs to read/write RFID tags and Farsi language in hand-helds.
18 Oct 2009 by Bachowny
C++ code showing how to track memory usage to avoid memory leaks
23 Aug 2008 by Bad Programmer
Implementing Menustrip dynamically from database, the menu names and order will be through backend.
3 Oct 2009 by Balamurali Balaji
A mobile application for converting numbers from one base to another.
2 Aug 2014 by baranils
HelloI work VisualStudio 2008I must create a simple Console Mobile application To :- Launch the App with a command line- Send a string on BlueTooth to a distant terminal- Wait Answer on BlueTooth The difficult part for me is to find some example and what I have to Set-Up to...
3 Aug 2014 by baranils
You said Quote: If you are just doing general searching for Bluetooth code, then Google is the tool to help youI do not agree : Google will simply help to find some existing Topic somewhereBut those topic needs to be created and feeded !And if nothing relevant can be found using...
25 Feb 2009 by baretta2
XmlObject is the class to derive from when you need high-performant XML serializable objects.
21 Nov 2007 by bearvarine
An ArrayList container wrapper class that permits the table to be filled with data in an early phase of a program, but then made read-only (Immutable) for subsequent usage.
12 Aug 2014 by Ben Liebert
Using jQuery Binding to Make Cross-domain Calls with Closure Callbacks
14 Jun 2004 by BenoitM
A Puzzle Bobble (aka Bust-A-Move) clone for Pocket PC using the .NET compact framework
4 Apr 2013 by Bernhard Hiller
Use following query before you insert ID values:SET IDENTITY_INSERT " + tableName + " ON
18 Feb 2014 by Bernhard Hiller
You have to deploy the NewtonSoft.Json libraries also on the web server, not only on your development machine.
17 Jan 2011 by Bert O Neill
Get updates to your browser immediately when a change has occurred within the database.
3 Apr 2013 by Bert O Neill
Create test project for client, server and GUI layers of a MVC application - so that they can then be incorporated into a continuous integration server build
22 Aug 2006 by BertjeBier
An article on the application of MyXaml on the Compact Framework.
10 Feb 2012 by Bertus Bever
Suppressing key and mouse events while loading
28 Nov 2007 by Bhupendra Sinha
Microsoft Message Queuing is Microsoft technology for asynchronous messaging. Whenever there is need for applications to send messages to each other, MSMQ can be used. MSMQ can communicate between remote machines, even over internet using http/https.
15 Dec 2010 by BigManitu
Bitmap resize with .NET Compact Framework
12 Dec 2008 by BillLange1968
This article shows how to create a casual (easy, simple, and fun) puzzle game in managed code for Windows Mobile devices.
24 Sep 2013 by BillWoodruff
When no one has voted on an article, its rating is zero, as you might expect.When an author has posted only one article, and that article has no votes, the average article rating seen in the "Articles submitted" section of your profile will also be zero.Since your article has:Views...