compact-framework

WindowsCE IrDA AddressFamilyNotSupported Exception using 32Feet Library

Hi all, I've been experimenting with the 32Feet library, which enables support for using IrDA using C# and .NetCF, by writing a small demo application. On a WindowsCE 4.2 device this appllication works fine, however when I try it on a WinCE 5 device I get a socket exception when calling: new IrDAClient() The exception is 10047: Add...

Implementing news ticker in Compact Framework - Unable to get smooth scroll (C#)

We need a news ticker that scrolls text on a custom device running on Win CE. We developed a control with the help of string manipulations and displaying the text on Label. It's working, but the scrolling is not smooth. At times it jumps few chars and at times cuts off before completing the scroll. Are they are any controls we can buy...

Using HttpUtility.HtmlDecode method with .NET Compact Framework?

A project using .NET Compact Framework does not allow use System.Web library. How can I do to HTMLDecode a string using .NET Compact Framework? I didn't found any class that do that. ...

GDI RoundRect on Compact Framework: make rounded rectangle's outside transparent.

Hello! I'm using the RoundRect GDI function to draw a rounded rectangle following this example: .NET CF Custom Control: RoundedGroupBox Because all controls are square, it also draw the corners outside of the rounded rectangle. How can I make this space left outside the rectangle transparent? The OnPaint method is: protected override...

Compact Framework Datagrid - X in cells

I added few extra columns, and now these stupid X are back but only on the first line on certain columns. By X I mean the background the cell is crossed over like a large x. I used to have this issue before and solved it by setting the alternating color to white. Nothing else has been changed aside from adding 3 extra columns to the data...

C#.NET ComboBox control

Hi All, I have an application working on hand held device with .NET compact framework, using C#.NET. The problem I am facing is ComboBox control is behaving very un-cenrtain, sometimes it shows the contents but some times it just shows System.DataRow kind of string in ComboBox. Although it shows this System.DataRow string but it still h...

Does a plugin or extension framework exist for windows mobile applications

I am looking for a .NET Compact plugin or extension framework similar to the full framework Managed Extensibility Framework (MEF) provided by MS Patterns and Practices. It is to be used to dynamically and generically load and manage assemblies that will provide both hardware capabilities as well as user feature modules to the client app...

WindowProc For a form in c#

Hi, I how to get the windowproc for a form in c# for .net compact framework 3.5, i want to know how to get the window proc of particular form. By default we cant overide the window proc of a form in c# 3.5 compact, please let alternate method to get the windowproc ...

Can't find PInvoke DLL error in Windows Mobile

I am having a lot of trouble getting a basic scenario to work on windows mobile 5.0 emulator. I have a winforms app that eventually calls into native code. Deployment works fine and all the native DLLs are copied in the same folder as the winforms .exe. I also verified this is the case with Remote File Viewer tool. However when I lau...

Compact Framework Unit Testing via Microsoft.VisualStudio.TestTools.UnitTesting

I want to write Unit Test suite for my .netcf 3.5 C# application and I want it to run on device. How do I setup to do this? I am using Microsoft.VisualStudio.TestTools.UnitTesting. ...

OpennetCF.FTP and Passive mode

Is it possible to transfer files through FTP using the library above in an ACTIVE FTP mode? It takes my app 13 seconds to move the 5KB file over - when I traced the code, turned out that the majority of these 13 seconds is spent on "sleeping" : time between "entering passive mode: 227" and "data transfer started", it was a good 8 second...

Determine IP Address of a thin client running WinCE 3.0

Is there a setting in CF that show this info? Something like Machine.IPAddress? Thanks! I am using Asp.net CF .net 2.0 and c# ...

Storage Card Problem In windows mobile

Hi, I m making windows mobile application, it refers some DLL's but i have some problem here. Imagine my application is installed in storage card related DLL's present in Storage card only, if i launch application it refers some of DLL, now i will remove the storage card, still my application will be running,it will not quit only ultima...

Can anyone tell me were I am making mistake in the snippet

public partial class Form1 : Form { [DllImport("coredll.dll")] static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong); const int GWL_WNDPROC = -4; public delegate int WindProc(IntPtr hWnd, uint msg, long Wparam, long lparam); public Form1() { InitializeComponent(); WindProc SampleProc ...

Windows Mobile Memory Leak Issue

All, I currently have a phone from a customer who experienced various issue while running our windows mobile application. This issue is that the phone eventually resets completely while running the application. I have this in house to do some testing and I haven't experienced the reset, but I do notice that program memory is dropping si...

Navigating Event in Compact Framework Web Browser Control

I have a NET Compact Framework 3.5 application, which is a form containing a web browser control. The code behind is like this: public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { webBrowser1.DocumentText = "<html><body>Please enter your name:<br/>"...

Detecting idle time in .NET CompactFramework Applications

We want to activate a process if the user does not interact for 2 mins with our compact framework application running on our custom built devices. I found an excellent C# sample code of Code Project(http://www.codeproject.com/KB/cs/ApplicationIdle.aspx) but it is not supported for compact framework as this code depends on Timers Class a...

Unable to load DLL 'coredll.dll': The specified module could not be found. (On Windows XP)

Thanks to the gurus at StackOverflow. You guys are awesome. I posted on question on detecting idle time on a Compact framework application and got answers very quickly. When I tried the suggested solution on my Windows XP development box, I get this error Unable to load DLL 'coredll.dll': The specified module could not be found. ...

Lookup CPU type in .NET Compact Framework

I need to be able to lookup the type of CPU that my application is running from a .NET Compact Framework application. Basically, I need to know if I'm on an ARM, SH4, x86, etc processor. ...

8bpp Bitmap format on the Compact Framework

Hi friends. I am messing around with Conway's Game of Life - http://en.wikipedia.org/wiki/Conway's_Game_of_Life I started out coding algorithmns for winforms and now want to port my work onto windows mobile 6.1 (compact framework). I came across an article by Jon Skeet where he compared several different algorithmns for calculating nex...