compact-framework

cf.net app protection (antidebug, obfuscate)

Is there any out-of-the box solution that protects cf.net (3.5) software against reverse engineering and unlicensed redistribution (average hacker protection)? Any option of packer/native wrapper? ...

Looking for OAuth 1.0a sample code for .NET compact framework

Hello, I'm looking for an OAuth 1.0a sample for .NET compact framework. Preferably .netcf 3.5 but 2.0 is fine too. I'm looking to call oauth for the foursquare.com api (http://groups.google.com/group/foursquare-api/web/oauth) ...

Error in Binding datasource to combobox

I have the below mentioned method where i am binding DataSource to the combobox control. // floorLocnList is coming from a webservice method private void lstFloor_BindFloor(FloorLocModel[] floorLocnList) { this.comboBox1.DataSource = floorLocnList; this.comboBox1.DisplayMember = "Location"; ...

Windows Mobile: Is there any library to build attractive interfaces?

Hello! I'm looking for libraries to build attractive interfaces. Someone told me about Fluid (http://fluid.codeplex.com/) but it's very difficult to use. Anyone knows others? My project is for Compact Framework 2.0 SP2, C#, and it's going to use in Windows Mobile 5.0 and above. Thank you! ...

Access contact list to use e-mail address?

hi, i have no idea of how to access the contact list of the windows mobile programmatically to use the email addresses. i want to show the the email of contact list only and when user selects one of them email value is retrieved in a string . please help me. regards, Madhup ...

Detecting 'Network Cable Unplugged' in the Compact Framework

I've been through all of the Stack Overflow answers search comes up with, and neither Google or Bing are showing me any love. I need to know when a network cable has been connected or disconnected on a Windows CE device, preferrably, from a Compact Framework application. ...

ActiveX hosting using the concept of Alex Feinman doen't work on my HP iPAQ rx5720

Hello! I have a HP iPAQ rx5720 with Windows Mobile 5.0. I'm using AxHost code from http://msdn.microsoft.com/en-us/library/aa446515.aspx. This control works great in a ScreenOrientation angle of 0º or 180º (portrait). But it doesn't work if the orientation is 90º or 270º (landscape). By the way, I'm using the control to play videos with...

multithreading in c# compact framework

hi all; i am using compact frame work for my windows mobile application in which i have pass more than one request to the server and receive response for each request in an array. the problem is there when i should access these arrays because i m starting the threads in a for loop and the after completing the loop i have to access thes...

How to write a class library that will work on .NET 3.5 compact framework AND regular framework?

How do I write a .NET class library that I can recompile for either the regular .NET 3.5 Framework, or the .NET 3.5 Compact Framework? ...

Switch compilation between compact and full .net framework?

Does anyone know how to switch a compilation of a library project on visual studio, so I can compile for compact framework and full .Net framework? ...

How to use threadpool class in .net compact framework with c# ( c sharp )?

Hi, i am looking for the solution for multi threading in c# .net compact framework. though threadpool class is good solution but is there any way to sync them like WaitHandle.WaitAll in compact framework? ...

Design problem.

Hi, I have a sample application and user control which uses separate copy of structure and enum. I want to know how to define this enum and structure, in order to use in my sample application as well as in my user control without having multiple definitions . i.e. only one copy of enum and structure should be present. Please let me kno...

DI: Handling Life of IDisposable Objects

So I'm working on my DI/IoC Container OpenNETCF.IoC and I've got a (reasonable) feature request to add some form of lifecycle management for IDisposable items in the container collections. My current thinking is that, since I can't query an object to see if it's been disposed, and I can't get an event for when it's been disposed, that I...

Choosing the right version of .Net Compact Framework.

Hello! I'm developing an winform application for Windows Mobile 5.0 and above. I'm using .Net Compact Framework 2.0 SP2. I choose that version of compact framework because is installed on Windows Mobile 6.0 rom (in fact, the installed version is .Net Compact Framework 2.0 SP1). Because of that, program will run faster and is going to b...

Sql Server CE 3.5 and .NET Compact Framework 2.0 SP2

Hello! Can I use Sql Server CE 3.5 with .NET Compact Framework 2.0 SP2? Visual Studio 2008 SP1 only supports this version of SQLServer CE, isn't it? Thank you ...

C#: How to cancel RasDial call?

Hello everybody, we are using C# with the .NET Compact Framework 2.0 on a Windows CE 6 device. I'm using the RasDial call to establish a GPRS connection when I need to transfer data between a server and the device. This all works nicely. However, sometimes when there's no signal, the call to RasDial takes forever and can only be stoppe...

Programmatically enable ClearType in Windows Mobile

For our Windows Mobile application I want to enable the ClearType option on the device. According to this article on MSDN it should be done be setting the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\GDI\Cleartype But nothing happens after setting this particular key. Even a soft reset does not enable it, but simply gets rid of t...

Trapping ActiveSyncEnd event:

Hello I'm writing an app (.NET Compact Framework 3.5 on PocketPc 2003) I'm trying to detect the cradle event, which is detected but is highly erratic. For instance, on every detection the while loop runs twice. Is this because of multiple registrations to the ActiveSyncEnd event? How do I correct this? ///NOTIFICATION_EVENT_NONE ...

finger print reader and .net cf

I am looking for a finger print sdk that can run on .net compact frame work and can make use of the in built finger scanning hardware of pda's like hp ipaq etc .thanks ...

How to share resource files between .NET CF 1.0 and 2.0/3.5?

Hi, I've created NAnt scripts to compile our codebase for .NET CF 1.0, 2.0 and 3.5. This worked pretty well in the past. Now we started localizing our UI. So our scripts need to compile the resource files (resx) too. And that's where the trouble starts. The resx format changed from VS .NET 2003 to VS 2008. My idea is to continue mainta...