compact-framework

Programmatically setup a PEAP connection in Windows Mobile

I have been working on this for a few days and this is doing my head in: Our application is built using the .NET Compact Framework 2.0 and running on Windows Mobile 5 & 6 devices. We can set the WLAN connection of the device programmatically using the Wireless Zero Config functions (described here: msdn.microsoft.com/en-us/library/ms89...

Using OpenNETCF.Net.Ftp inside a class instead of inside a Windows Form

So far I am using an FTP object inside a Windows form. FTP object runs in a separate thread, so to ensure that my app doesn't freeze up, I use the following piece of code: private void OnResponse(string response) { if (this.InvokeRequired) { this.Invoke(new StringDelegate(OnResponse), new object[] { respo...

Using OpenNETCF.Net.Ftp inside a custom class instead of inside a Windows Form

Exact duplicate of Using OpenNETCF.Net.Ftp inside a class instead of inside a Windows Form So far I am using an FTP object inside a Windows form. FTP object runs in a separate thread, so to ensure that my app doesn't freeze up, I use the following piece of code: private void OnResponse(string response) { if (this.InvokeRe...

How do I set a ListViewSubItem BackColor in Windows Mobile?

I'd like to change the BackgroundColor of a ListViewSubItem in a ListView in Windows Mobile. I'm using the Compact Framework ListView, whose ListViewItems only allow setting the BackColor on the entire row, which I don't want. I have two questions: Is this possible? If this is possible, I know I have to P/Invoke to get this to work (...

What can I use on .NET CF as a replacement for HttpUtility.UrlEncode

I need to move .NET code to the Compact Framework. That code uses HttpUtility.UrlEncode to encode query parameters, but System.Web isn't available on CF. What can I use instead? ...

ORM for Compact Framework 3.5 winforms app with external ms sql server 2005

Hello, I'm building a .NET CF 3.5 application that will communicate with an server based MS SQL server 2005. The communication will happen trough the devices's WiFi connection. I've been looking for a good O/R mapper and am a bit lost. Most sites/people assume that you're going to work with a local compact database and not with an ex...

How do I view the data in a SqlCE database on a device from visual studio?

I'm debugging an app on a Windows Mobile device and want to view the data in the SqlCE database on the device. I was told to copy the SDF file from the device onto my dev box, but is there an easier way to do it through visual studio without copying anything over? I'm using Visual Studio 2005, Compact Framework V2 and Windows Mobile 5. ...

Cannot display custom controls in VS 2008 Designer -- .NETCF

I'm having problems displaying custom (inherited) controls in my .NETCF windows mobile project in Visual Studio. The control appears on the designer surface as a gray box with the class name written in it. As a test case I have a simple control defined as: public class ucButton2 : Button { } Should be just like a button but it gives...

Advice on writing Video Player for Windows Mobile

I wanted to develop a video player for Windows mobile using C#; can anyone direct me in correct direction to look for all the help I would be requiring in this topic. Please send me links and your comments in this direction. Thank you in advance. ...

Windows CE textbox Focus problem

I have a problem setting the focus back to a textbox. I run the same application both on Windows Ce and Windows Mobile 5 and the issue is only on WinCE. On a form i have a custom control (let's say a custom DropDown) and a textbox, after an item is selected in the custom control i want to pass the focus back to the textbox. The code lo...

How can I use OpenStreetMap in my Compact Framework App?

Hello, does anyone know, how I can use OpenStreetMap inside my Compact Framework Application? Is there a Framework or something like that? All I can find in their Wiki is how to contribute to their Project and to user their Software to Map data. But I want to use their maps to show the users Location inside my own App. I could not find ...

System.Exception at Microsoft.AGL.Common.MISC.HandleAr() on WinCE 5.0

For some reason this exception is thrown by OS, it happens at Dispose() method. No extra details provided. My code is too long to post. Generally, what does this exception mean? I use .net CF 2.0 on WinCE 5.0 ...

How can I have design time support for my custom user controls in Visual Studio 2008?

I'm an creating a custom user control for .NET Compact Framework and I want to keep design time support. I'd like to think in Visual Studio 2008 that this is not the crazy almost impossible task it once used to be. And I'm hoping there is a simple tutorial somewhere that will show me, it is a snap. Any chance? ...

How can I get the PixelFormat of a Bitmap using .NET CF 2.0?

I'm trying to speed up performance of some image scaling & coloring routines in a mobile app based on .Net compact framework 2.0. I've discovered the Bitmap.LockBits method, but how can I get a Bitmap's PixelFormat when the PixelFormat property is not supported in the compact framework? ...

Ensuring Windows Mobile application is not running - From a desktop app

Hello, I have a windows mobile 5.0 application (smartphone) that contains a flat data file (CSV), which contains a header row (two doubles), and a list of entries (two doubles, DateTime, and a string). Occasionally, I need to "sync" the mobile application with a desktop application. The desktop application should read the CSV from the...

.NET Compact Framework Component Serializer

I am porting .NET Framework component to .NET Compact Framework. Component has ImageList in it. This component implements custom CodeDomSerializer. The constructor of the custom CodeDomSerializer contains following code for ImageList code serialization. TypeDescriptor.AddAttributes(typeof(ImageList), new DesignerSerializerAttribute(type...

Update databindings when a TextBox changes rather than loses focus

I'm learning to develop for compact framework and I've come across an issue that's bugging me. I've bound a couple of textboxes to some properties (firstname & lastname of a person class) and have a menuitem which just does a showmessage of the full name, and it works fairly well except that the properties only get updated once the text...

how to make conference call in windows Mobile....

hi, could anyone please guide me how to make a conference call from netcf... in Windows Mobile like i have three numbers and i want to dail them for a conference call... ...

extending context menu in windows Mobile Contact

hi, i want to extend contact context menu in windows mobile. when a user right clicks on a contact with dial and other feature i want to extend and add my own item to execute my custom program or so. ...

.NET CF components

I am starting to develop mobile apps in Visual Studio and I wondering if someone could suggest what 3rd parties controls would be the best choice. I tried the standard controls in VS but they are not of much help. I know there is a toolkit from Resco and ComponentOne. Any experience with one of those? Thank you! ...