compact-framework

In .NET CF 2.0, will a global keyboard hook interfere with P/Invokes that require a keypress?

My details: custom mobile device running Windows CE 4.2, Compact Framework 2.0 SP1. C# app making decent use of P/Invokes with no problems until now. I've written a low-level keyboard hook (similar to, but not identical to, this CodeProject post) which works marvelously with one exception. One thing that our software does is allow acces...

Do you know any run-time differences between Compact and Full Framework code?

There are a number of run-time differences in compatible code between these two versions of .NET. Here is a list of differences so far: Graphics.DrawRectangle - differs by 1 pixel Graphics.DrawString - Loses the line wrap if used with a StringFormat with both StringAlignments set to Center. Most file operations - compact framework nee...

What is the fastest way to fill a combobox in C#?

What is the fastest way to fill ComboBox in C#? With Add() Bind the ComboBox to Dataset Or there is a faster way ? Thanks. ...

Compact Framework - Timeout function for locking UI after period of inactivity

Good morning, I am the developer of a medium sized PDA application that will be used out on the streets. The PDA will contain some vaguely sensitive data (names and addresses, etc). The encryption on the mobile database is already handled, however if someone got hold of the PDA whilst it was logged in they could happily go through the d...

Windows CE deletes .NET CF on reset

I'm writing a C# application for a proprietary Windows CE 4.2 device (for which I don't have the specs or pretty much any other information. I've got access to the file system, and that is basically it.) I also can't get support from the original manufacturer. Now, I can install the .NET Compact framework just fine, and everything works...

Book about .Net Compact Framework development

Hello, I'm searching for a book about developing with .Net Compact Framework. Does anybody have any hints? Thanks. Yours, Thomas ...

Compact Framework - OpenNetCf.Net FTP Samples?

I am trying to get the OpenNetCF.Net FTP Components working with my PDA application. I am struggling to get it doing any more than connecting to the server and wondered if anyone knew of any sample code I could use to learn how to use it with? I need to be able to download and upload files, as well as determining the download size of an...

Where does the file Microsoft.CompactFramework.VisualBasic.targets come from?

I have a Pocket PC 2003 solution, consisting of three projects, that was created in Visual Studio 2005. I open the solution in Visual Studio 2008 and two of the projects fail to convert due to errors like the following: Unable to read the project file 'PDA.vbproj'. D:\PDA.vbproj(121,61): The imported project "C:\WINDOWS\Microsoft.NET\F...

Is there a way to capture the send key on Windows Mobile and have it dial a specific number?

I have a Windows Mobile application using the compact framework (NETCF) that I would like to respond to someone pressing the send key and have the phone dial the number selected in my application. Is there a way using the compact framework to trap the send key? I have looked at several articles on capturing keys, but I have not found ...

How can I access the SMS messages in a Windows Mobile device

I'm searching for a code that will alow access to the SMS messages stored in a Pocket PC device with Windows Mobile so I can download/backup them to a Windows PC. Anyone knows how to do this? ...

Remote performance monitor Fails to retrieve GC heap

Hi*,I am using the .NET Compact framework Remote Performance Monitor from the .net 3.5 compact framework powertoys.It is able to run an applications and get statistics from it, but after a while it fails to vieuw the GC heap on the platform with this exception:I am running WIN CE 6 on a x86 cpu.Anyone has an idea how to fix this? (or kno...

AoP on Microsoft Compact Framework 3.5

I've tried with Postsharp, but their current implementation targets 2.0, and it's getting painful to make it work. Should I roll out my own AoP implementation (I'm thinking of a very VERY basic and utilitarian implementation here) Or there is an alternative I'm not aware of? ...

How to change DNS IP for programmatically on CF 2.0

Hi, i want to change the DNS IP Address programmatically to the Adapter on Compact Framework. I have checked in the NetworkInterface class of OpenNetCF 2.3 as well, but i do not want the device to be rebooted after setting. Could somebody throw a light on the please ? Thanks in advance, Sathya ...

.Net Compact Framework Tips, Tricks, and Gotchas

Hey everyone, We work extensively in the .Net Compact Framework and Windows Mobile. I've seen plenty of questions come up regarding specifics to development of ASP.Net apps or other .Net based desktop apps but nothing CF specific. Anyone else a mobile developer out there that can share some things to start doing, stop doing, and avoid ...

Is this compact framework program running on the desktop?

One of the cool things about the .NET Compact Framework is that you can run .NETCF executables on the desktop version of Windows. However, there are minor incompatibilities between the platforms that have to be dealt with at run-time. My question is, how do I tell which platform I'm on right now? ...

Pocket PC/Windows Mobile: How to detect smart minimize

How do I detect when my Compact Framework application is being smart-minimized (smart minimize is what happens when the user clicks the "X" button in the top-right corner on a Pocket PC)? The Deactivate event isn't the right way because it occurs in circumstances other than minimization, such as when a message box or another form is sho...

.NET CF 2.0: possible single-threaded reentrancy

A simple application is written in CF 2.0. It's single-threaded as far as I'm concerned. Two parts of the application are of interest: an event handler that handles "Barcode scanned" event raised by a class that represents PDA's barcode scanner (provided by manufacturer), and an event handler for Windows.Forms.Timer that runs every 30 s...

GC contains lots of pinned objects after a while.

I have a strange phenomenon while continuously instantiating a com-wrapper and then letting the GC collect it (not forced). I'm testing this on .net cf on WinCE x86. Monitoring the performance with .net Compact framework remote monitor. Native memory is tracked with Windows CE Remote performance monitor from the platform builder toolkit...

Access Database Synchronizer with network location

Using the Access Database Synchronizer has anyone been able to synchronize with an mdb stored in a network location? It doesn't even work if i map a network drive to my local c: i.e. c:\test.mdb works but z:\test.mdb doesn't. I simply get a System.Data.SqlServerCe.SqlCeException "Failure to open SQL Server with given connect string." ...

For a .net developer, what's the learning curve to get into mobile development?

For a .net developer, what's the learning curve to get into mobile development? How many different operating systems are there that run .net? Is windows mobile that same as windows ce? ...