compact-framework

Code for extending the NETCF MainMenu to support background color property

I've searched for the solution to change the background color on the Compact Framework's MainMenu control, and the only answer I've found is that you need to create a custom control. Does anyone have example code for this? ...

How to improve garbage collection performance?

What kind of optimization patterns can be used to improve the performance of the garbage collector? My reason for asking is that I do a lot of embedded software using the Compact Framework. On slow devices the garbage collection can become a problem, and I would like to reduce the times the garbage collector kicks in, and when it does,...

How to open a new email, and assign subject, using .NET Compact Framework

Basically I'm trying to accomplish the same thing that "mailto:[email protected]" does in Internet Explorer Mobile. But I want to be able to do it from a managed Windows Mobile application. I don't want to send an email pro grammatically in the background. I want to be able to create the email in Pocket Outlook and then let the user...

Watermarked Textbox for Compact Framework

Does anyone know if anyone makes a watermarked textbox control for the compact framework? I already loked at the following and didn't see one. Component One Mobile Pocket PC Controls Resco Mobile Forms Toolkit ...

401 when POSTing using HttpWebRequest (yes I used Credentials)

I'm using HttpWebRequest to pull down XML, and POST data back to a 'WebService' and getting a 401 on the POST. When creating the requests I've added Credentials and now tried a credentials cache and setting PreAutenticate to True, still getting the 401! :( Watching the HTTP traffic on the router I set the get make an unauthenticated G...

Is there a library to read JSON in C# on Windows Mobile?

Hi, I am trying to find a library to parse JSON on C# on Windows Mobile (working with Visual Studio 2005). The libraries that I have found that allow me to parse JSON in C# (litjson and Jayrock) don't work on Windows Mobile, they require classes that are not present in the .NET compact framework. Is there any library that I have overloo...

System.NotSupportedException error in compact framework pictureBox control. How do I make a picture button in Compact framework?

I'm trying to make a picture button in the compact framework. I made a usercontrol and added a picturebox. I saw you could over ride the text and font for normal windows forms. but don't seem able to do it for compact. It crashes VS2008. Has anyone done this? ...

How to read remote XML file the most efficiently way ?

i am developping a little app that retrieves an XML file, located on a remote server (http://xxxx.com/myfile.xml) This file is relatively big, and it contains a big list of geolocations with other informations that i need to use for my app. So i read this file remotely once and insert it into a little SqlCE file (database.sdf) So If I n...

UI Components for Windows Mobile Applications (.NET Compact Framework)

Applications which run on mobile devices have special user interface requirements. I think Apple did a great job introducing innovative controls on the iPhone/iPod touch platform. Now, I have to design an application for the Windows Mobile platform using the .NET Compact Framework (Visual Studio 2008). I wonder if there are some commerc...

Memory leak in .NETCF - creating dynamic controls?

I have a problem with a memory leak in a .NET CF application. Using RPM I identified that dynamically creating controls are not garbage collected as expected. Running the same piece of code in .NET Window Forms behave differently and disposes the control as I expected. See the output from RPM via PerfMon for the Process Heap counter...

Start another application from a Compact .Net 1.0 app

Is there a way to start another application from within Compact .Net framework 1.0 similar to System.Diagnostics.Process.Start on the Windows side? I need to start a CAB file for installation. Thanks, Kishore. ...

dotnet compact framework 3.5 sp1 detect device resolution

I need to detect the device resolution automatically, right now I have a global var & hardwire the resolution: Public gDeviceRes As String = "640" 'Public gDeviceRes As String = "320" then recompile for each device, does anyone have a quick snippit of code for this?? ...

is there a clean way to play an mp3 sound in the compact framework 3.5

I know & use the p/invoke method to play wav sounds, & there are ways of calling windows media player to play an mp3 sound, but its slow & cumbersome, is there an easy way to simply play short mp3 file... mainly for application prompting & audible cues for when you are not looking at the screen.. (not music) thanks!! ...

How can I shutdown a Windows Mobile device programatically

Hi I would like to programatically shutdown a Windows Mobile device using Compact framework 2.0, Windows mobile 5.0 SDK. Regards, ...

Logging Library for .NET Compact Framework?

Any good logging libraries that support .NET compact framework? ...

Is Click-Once available/compatible with .NETCF?

I develop and manage about 45 WindowsCE5 devices. Updating applications on the devices is a nightmare. Is it possible/feasible to do Click-Once on the CF? I take the lack of answers to be "No". :) EDIT: This is a duplicate of question 116713 ...

Are there any control libraries for Windows Mobile that enable iPhone-style touchscreen behavior?

The way the iPhone uses the touchscreen to enable zooming in and out and scrolling and so forth is very cool, and I was wondering if there is anything available for Windows Mobile that provides a similar user experience. ...

How do I force a serial port write method to wait for the line to clear before sending its data?

Here's some background on what I'm trying to do: Open a serial port from a mobile device to a Bluetooth printer. Send an EPL/2 form to the Bluetooth printer, so that it understands how to treat the data it is about to receive. Once the form has been received, send some data to the printer which will be printed on label stock. Repeat st...

What is the best way to call a Web Service from Windows Mobile (.NET 3.5)

What is the preferred way using the CF 3.5 to get get data from a web service? I am getting back a series of tables from the web service. ...

.NET CF mobile device application - best methodology to handle potential offline-ness?

I'm building a mobile application in VB.NET (compact framework), and I'm wondering what the best way to approach the potential offline interactions on the device. Basically, the devices have cellular and 802.11, but may still be offline (where there's poor reception, etc). A driver will scan boxes as they leave his truck, and I want to u...