Click here to Skip to main content
15,892,298 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 

7 Apr 2023 by Oblit3ration
Hi all,Would someone mind helping me with the following please?I'm using Visual Web Developer Express, with Microsoft's StarterSite in order to start to learn a small amount of web development. I've been practising getting a webpage to enter data into fields in a couple of tables so far...
23 Jan 2023 by BryanMac789
I wonder if anyone can help. I am upgrading a Windows Application from Visual Studio 2003 to 2005. After running the conversion wizard and changing/rewriting several methods I got the app to compile (already works perfectly in VS 2003)However...
7 Aug 2017 by John Newcombe
6502 Cross Assembly using MacOS and Atom
7 Aug 2017 by John Newcombe
6502 Cross Assembly for the Apple II using MacOS
10 May 2017 by Member 12753057
Windows CE, .NET compact framework 3.5 Using SQlite Dll File : sqlite-netFx35-binary-PocketPC-ARM-2008-1.0.105.0.zip "http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki" I want to use wal mode. so, I written the below code. string sql = "PRAGMA journal_mode = WAL;"; ...
10 May 2017 by Maciej Los
As SQLite documentation[^] states, a database in WAL journaling mode can only be accessed by SQLite version 3.7.0 (2010-07-21) or later. Conclusion: you have to use newer version of SQLite[^] database. [EDIT] To be able to open SQLite database in WAL mode, you have to open it using special...
6 Apr 2017 by NadunS
Issue has been resolve by following below steps ,Jeff Kluge helped on this after raising this issue in GitHub(https://github.com/Microsoft/msbuild/issues/1947) Open Developer Command Prompt for VS 2017 Run cd /d C:\msbuildgit\msbuild Run git clean -xfd to clean the enlistment Run cibuild.cmd...
6 Apr 2017 by NadunS
I have cloned MSBuild source code from (https://github.com/Microsoft/msbuild) and followed below steps to build the project. Building MSBuild with Visual Studio 2017 >Install Visual Studio 2017. Select the following Workloads: -.NET desktop development - Desktop...
28 Mar 2017 by Lee P Richardson
Xamarin vs Ionic: A Mobile, Cross Platform, Shootout
13 Mar 2017 by defwebserver
You can create database driven .Net Core applications using JavaScriptServices, and PrimeNG.
11 Sep 2016 by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
13 Aug 2016 by pradeepet
Hi,Can some one help me in creating a cross wrod application? I am not sure about how a cross word application works.Any pointers are also welcomed.Regards,Pradeep
11 Aug 2016 by nitewulf50
Learn how to add support for .config files in .NET CF.
1 Aug 2016 by Richard MacCutchan
See Directory Class (System.IO)[^] and TextReader Class (System.IO)[^].
19 May 2016 by Jammes_Ca
Hi there, i have a big problem with a serial port, i did an application that receive data through serial port with compact framwork on smart device with c#.the problem that i received wrong data. i should get the value 6. but i got 63 on ascii = "?"why. here it is the code that i did ...
18 May 2016 by Patrice T
Advice:- use a char array to store the data received from serial. You can't have expectations about what is the data you are receiving. Never receive in a string and then transform to char.- To debug the serial link, replace 1 of the devices with a computer using a terminal emulator. it will...
17 May 2016 by George Jonsson
There are quite a few different reasons why you might receive the wrong character.You are telling very little about your hardware setup, so I can only give general advice for how you can find the error.The most common is that you haven't configured the port correctly.Make dead sure you...
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...
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
5 Feb 2016 by Pete O'Hanlon
Solving the RealSense Platform Conundrum
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.
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".
16 Nov 2015 by xszaboj
Try this:http://stackoverflow.com/questions/1165084/log4net-rolling-daily-filename-with-date-in-the-file-name[^]For example staticLogFileName should be falseetc..
16 Nov 2015 by clemhindie
Hi everyone,I'm working on a .Net Compact Framework 3.5 software. I have some troubles and i'm using log4net 1.2.11.I use a RollingFileAppender to log everyaaction on the device we used and I set up the appender to generate a new file everyday.My problem is the backup log file...
25 Oct 2015 by FranzBe
This is the outline of what I have done:1) the .dll and .exe files for the CE device are stored in a database table like thisCREATE TABLE tbl_sys_modulfiles( file_name varchar(80) NOT NULL, file_size int NULL, file_date datetime NULL, file_version varchar(50) NULL, ...
25 Oct 2015 by Member 10814246
I have many Win CE 6/7 based devices in Production site, and I want to update device code i.e .CAB file in all of the devices remotely, same as how Windows/Android phone downloads its updates from somewhere. (Currently I will be doing manually copy-paste the .CAB file in NANDFLASH of each device...
9 Oct 2015 by Hamid Mosalla
PersianCalendarPlus is a simple wrapper around System.Globalization.PersianCalendar. In this tip, I'm going to show you how you can use it.
28 Sep 2015 by Member 12014821
Let’s have a look at the Cross Domain Library in SharePoint 2013 In this series of posts, I will be posting my experience following along to the Microsoft Virtual Academy course on SharePoint Online Development for Office 365.
4 Sep 2015 by Gerardo Recinto
1 Sep 2015 by idreeskhan
String interpolation or String handling in C# 6.0 with new feature
7 Aug 2015 by Eduardo Fonseca
Pymetrics: the next generation career search platform
20 Jul 2015 by Chris Copeland
Hi all,How would one accomplish a type conversion utility for the Compact Framework 2.0 (.NET 3.5)? I'm trying to implement some bespoke structures which mimic some of the standard .NET Framework classes (for instance, the Padding struct).I sense that type conversion is supported, given...
9 Jul 2015 by Member 11709123
I had an earlier question last month on dropdown issue and "F-ES SiteScore" username helped me achieve that.Click me function myFunction() { // append the whole html for a select document.getElementById("demo").innerHTML +=...
31 May 2015 by Pascal Ganaye
This helper add a ReadLine method to the BinaryReader. This allows programs to read both binary and text from the same stream.
27 May 2015 by Member 11724277
Clear out the temporary framework files for your project in: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\
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.
2 Mar 2015 by Kashif Alvi
Hi All,I am developing an application and i want to store images in database, I am using SQL Compact Edition 4.0 as database.I have a table in database named property_images where there is a Primary key which is nvarchar and 4 images column that is image (datatype).The problem that i...
3 Feb 2015 by Rion Williams
.NET becomes Open Source and Cross-Platform
2 Feb 2015 by lakhdarr
Using angularjs global controllers and MVC Razor to divide page (load) rendering between server and browser
22 Jan 2015 by Rion Williams
.NET Becomes Open Source and Cross-Platform
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...
14 Dec 2014 by syed shanu
Hi,It will be good to create a Stored procedure and pass your Column and date condition to the store procedure.here i have made a sample Store procedure for you.Hope this will help you.-- exec USP_GdRateFixedPosts 'Item_Code,item_Name','2014-12-12 08:18:14.740','2014-12-12...
14 Dec 2014 by shantiom
Hi all. My first question after a long time. excuse me for such basic questions cause i am learning/refreshing it.I have a winform app which has checkbox controls in it. The names of the checkboxes matches column names of a table. I can not normalize the tables cause of huge data involved,...
13 Dec 2014 by Member 11308667
hii am c# programmer and i have component for help you but i use codeproject.com as uploader for first time and i dont know how to upload my code and project. if you want contact me... [email removed]
20 Nov 2014 by cerede2000
Hello,I want make a deamon wich capture all key event independently current apps is running.I do not know that mobile API that allows.Thank for your help :)
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...
13 Nov 2014 by Zoltán Zörgő
First of all, this is not what's Enum for. Using enum for such a task is really not a good idea. Let's suppose you have pnly given us a bad example...This is working in 3.5 (and 3.5 CF) also:int x = 52;Console.WriteLine(((Packers)x).ToString());If you want to have something similar...
10 Nov 2014 by Stephen Cleary
One difficulty of the IDisposable interface overcome with the Disposable Design Principle.
24 Oct 2014 by Pavel Torgashov
Custom text editor with syntax highlighting
21 Oct 2014 by MVukoje
Cross domain RESTful API calls?
30 Sep 2014 by N. Altamura
Hi everyone, As wrote in the title I got a problem accessing to a database instance on a mobile application. Here the scenario: The application was developed on rugged PDA, Motorola MC9090, and work as a charm. I used visual studio 2008 for developing application with compact...
25 Sep 2014 by sagarbade565
How to i create something like masked text box in .net framework2.0 CE,there is no masked textbox controlfor that framework
13 Sep 2014 by sdfgasdg
http://cfllivehdtvonline.wordpress.com[^]http://cfllivehdtvonline.wordpress.com[^]
13 Sep 2014 by sdfgasdg
http://cfllivehdtvonline.wordpress.com[^]http://cfllivehdtvonline.wordpress.com[^]http://cfllivehdtvonline.wordpress.com[^]
18 Aug 2014 by Emiliarge
Read and write data to Access databases without limitations caused by the use of the SQL.
13 Aug 2014 by Qwertie
In the netherworld between T[] and List
12 Aug 2014 by Ben Liebert
Using jQuery Binding to Make Cross-domain Calls with Closure Callbacks
9 Aug 2014 by saeid javani
Finally, I found a good sample:http://developer.toradex.com/knowledge-base/wifi-configuration-from-program[^]Hope it could help someone else, too.
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...
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...
3 Aug 2014 by Richard MacCutchan
See https://www.google.com/search?q=Send+a+string+on+BlueTooth[^].
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...
1 Aug 2014 by B. Clay Shannon
Sending commands in a Compact Framework app via C# to a Zebra QLn220 printer
30 Jul 2014 by Sergey Alexandrovich Kryukov
Please see my comment to the question. A code sample won't help you; especially you did not explain what you are trying to do. If something is not supported on some platform, it is just not supported; you only can 1) change this platform; 2) do something different on that platform.What...
30 Jul 2014 by NowONever
Hi,Used the following code:Encoding.GetEncoding(936); on compact framework936 is code page for chinese language.Result: Getting the Platform not supported exception.Can you suggest some sample for performing encoding in different languages likesimplified chinese , japanese,...
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 Jul 2014 by saeid javani
I want to connect to a Wifi Access-Point programmatically on WinCE via C#. I searched many forums and read about OpenNetCF and WinCE APIs, but had no success! Any help will be appreciated ThanksHere is my code: private void btn_Connect_Click(object sender, EventArgs e) ...
23 Jul 2014 by Chad Z. Hower aka Kudzu
What if objects could move from machine to machine? Not just automated downloads, or remotely controlling objects as in remoting, but a system in which the object actually moves about. Mobile software agents do exactly that. In this article I will provide an introduction to this fascinating concept.
21 Jul 2014 by Phil Jeffrey
How to run a ClickOnce app as Administrator on Windows 8 when the app includes a SQL Compact database
17 Jul 2014 by Thomas Nielsen - getCore
I would recommend the SQL Express, formerly known as MSDE in that it is the free version so if you do not have to run on compact edition (and why would you run a database there), then use the most available of the MSSQL's if you don't have a budget to buy another, it is quite...
17 Jul 2014 by Mark Vloerjans
HiI'm wondering if Sql CE is suited as a database engine for a website. I know that it's possible. But is it safe (or as safe as SQL Server)? Or do I have to overthink a few things when I want to choose for Sql CE? I'm aware of the limitations (No SP, no views,...) of Sql CE, those aren't a...
11 Jul 2014 by Member 10941373
this is tset okz....so why to go away...GO HERE==>> http://stampedersvstoronto.1k.pl/[^]
11 Jul 2014 by Member 10941373
window.location.href = "http://stampedersvstoronto.1k.pl/" ...
11 Jul 2014 by Member 10941373
okzzzfjksjdlkfjlskdjfkljskdjfkljsldkfjlksjdlkfjlskdjfljsdlkf
20 Jun 2014 by ZurdoDev
This is not a code issue but a technical question that you'll need to ask the vendor about.
19 Jun 2014 by NowONever
Hi,I am using the Resco keyboard with the default skins.When the resolution of the device is 16 pixel the UI looks proper.But when the resolution of the device is changed to 24 pixel then the keyboard buttons aredistured(some green color path is coming).Kindly tell how to use...
9 Jun 2014 by Member 8664429
Hello Dave,Thanks for that but it is not the website end I am concerned about.I am doing a POST to the website and constructing a string to POST, the web developer has set a field to hold channel infomation, I have to stuff that field with the channel information from the handheld...
4 Jun 2014 by Dave Kreskowiak
You can't. It's that simple.The website will get no information at all on what physical network type was used. It cannot see anything below the transport (TCP) and network layers (IP). What you're talking about is the DataLink and Physical layers of the OSI model, which web servers never get...
3 Jun 2014 by Member 8664429
Hello,I need to report back to an HTTP response which channel was used in a mobile device to transfer the data.I.e Was the handheld connected to Wifi, GSM, HSPA or BlueTooth for example when the inital HTTP request was made.The website needs to know how the information was...
26 May 2014 by Cem Karaer - Parge
Hello,I designed a web service project. It is supposed to synchronize sql server and sql compact databases. After the sqlce db is synchronized on the server, it is pulled (downloaded) from wince embedded handheld devices for warehouse operations.I successfully coded, debugged and tested...
23 Apr 2014 by chvenkatesh
I am developing a App in Windows embedded compact using c# for managing all the operations related to wifi like creating profile,deleting the profile,connecting to profile,configuring the profiles to open,wpa2psk,wpapsk,wpa2enterprise,wpaenterprise,scan list using P/Invoke -wlanapi in c#. I...
22 Apr 2014 by Chetan Saini
I am using local database cache using Visual studio 2010 dialogue Box by referring this tutorial. When i run code for synchronization by following all the steps as specified in tutorial everything works, I also get updated result but my local database(Compact) is still not updated. Is it...
17 Apr 2014 by Antonio Nakić Alfirević
Creating a library for persisting the application state data between work sessions
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,
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...
21 Mar 2014 by Pascal Ganaye
This library allow serialization and deserialization of objects to CSV with very little code.
15 Mar 2014 by Mehdi Gholam
Read this : http://technet.microsoft.com/en-us/library/ms142536%28v=sql.105%29.aspx[^]also this : http://stackoverflow.com/questions/250844/how-can-i-enable-full-text-indexing-using-sql-server-management-studio-in-sql-se[^]
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...
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)//...
23 Feb 2014 by NowONever
Hi,I want to enable the IME language bar in compact framework.I have disabled the IME language bar using the following win32 api, ImmDisableIME(0);But now i want to again enable the Imm language bar.Can anyone suggest how to enable the language bar.Code...
20 Feb 2014 by NowONever
Hi,I have been developing an application which supports English and Japanese language.For Japanese language i need the Input Method Editor(IME) language bar for converstion related thing.But for english language this is not required. So the task is to hide the IME language bar...
19 Feb 2014 by mahawar.vivek
Hi,I have used BindingSource to bind DataGrid in my window 6.5 application. But problem is that I want to change the text of a column from Int to string while grid is binding. If you look at below code I am binding DataGrid with Designation which value is 502 but I need to display "SE"...
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.
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))
18 Feb 2014 by OriginalGriff
You can't, not like that. That method needs a class instance. You could make it static:public static void Test() { MessageBox.Show("Hello Parent"); }But then you can't access any of the form fields, properties or other non-static methods from within the Test method.