compact-framework

Slow Update/insert into SQL Server CE using LinqToDatasets

I have a mobile app that is using LinqToDatasets to update/insert into a SQL Server CE 3.5 File. My Code looks like this: // All the MyClass Updates MyTableAdapter myTableAdapter = new MyTableAdapter(); foreach (MyClassToInsert myClass in updates.MyClassChanges) { // Update the row if it is already there int result = myTableAd...

Find all child forms in c# compact framework

How do I find all the child dialogs for a form using c# and the compact framework. ...

Motorola MC9090G with Windows CE - user interface language / .net compact

I am developing a windows CE program for the Motorola MC9090G which is running Windows CE 5. The user interface language is set to English (United States) and can't be changed. I've talked with the distributor of the device, but he said there aren't any language packs available. I've build the application in two languages - English as d...

How to cut down ActiveSync functionality on Windows CE device

Is there any way to cut down a specific functions of ActiveSync service on Windows CE device? I want to see only one specific folder on my device when it's connected to PC. Basically I want to leave only functionality of exchanging data via a specific folder, without any other communication (deploying applications, synchronization etc.)...

Windows Mobile Compact Framework Designer Inheritance

I'm trying to make a form derive from a baseform. When loading the Form into the Designer, it says Virtual Inheritance is disabled and i cannot have access to controls defined in the basedForm. Does anyone knows how to enable the virtual inheritance? Thank you, ...

Visual Studio 2008: Form size changes when I open a solution

I'm using Visual Studio 2008, specifically the Compact Framework. I change the size property of a form and when I reopen the solution, the form's size gets back the default one. Is it a bug or am I missing something? ...

Windows mobile Compact Framework SqlCeConnection

I'm hearing that is better to have one connection open upon app start up and closing it when the app shuts down. What kind of issue can occur having multiple connections ? Any articles out there that it is best practices to have one connection? What are your experience with sql ce? ...

What is AGL on .NET Compact Framework?

What is AGL on .NET Compact Framework?? Any information about it would be very appreciated! For Example(Code from .NET Compact Framework): DllImport("AGL", EntryPoint="@106")] public static extern PAL_ERROR Blt(IntPtr howThis, IntPtr howSrc, ref RC rcSrc, ref RC rcDst, int cvKey, AGL_BLT md); public void Save(Stream stream, ImageFo...

Surely there is a better grid than DataGrid for the .NET Compact Framework...

Having spent a couple of days wrestling with DataGrid in .NET CF, especially controlling the look and feel, I'm looking for alternatives. I don't mind purchasing a solution. I'm looking for Redistributable to our enterprise customers. We control the hardware so it doesn't have to work perfectly on every device. Display strings and n...

[C#] Implementing different windows/forms in a Windows Mobile application?

I am a bit new to Windows Mobile (with C# and the compact framework) development, so I am kind of unsure how to do this. The user has to go through several pages of information in a wizard-like manner. At the start there is a login window. How would I go about and implement this? Would I just have different User Controls for each page a...

What are the limitations of Windows CE 4.2?

Other than Active Sync not working, are there any other limitations that I need to consider when targeting a Windows CE 4.2 device for a CF 3.5 application in C# that uses WCF to talk to a server? ...

C# CF: How to open specific file extension with my program

Hi, Im developing a mobile application in dot net Compact framework. I managed to edit the registry HKEY_CLASSES_ROOT so that a click on file with .xyz extension will open my application. basically, i need to do some operation on this file when it's clicked. however, i realise that if i do that the first time, it reaches program.cs at s...

C# CF: file encryption/decryption on the fly

Hi, i've seen many article on encrypt/decrypt of file and typically a button is used to choose the file for encrypt and another button to decrypt the file. i've seen some application like truecrypt and probably others which does file encryption on-the-fly with transparent. this means that when a encrypted file is clicked to access, it w...

Calling ConnMgrMapURL results in a NotSupportedException

Hello all, I'm trying to implement to code described by this site to interface with the Connection Manager in Windows Mobile. However, I'm having trouble calling the ConnMgrMapURL function. Here is the function declaration: <DllImport("CellCore.dll")> _ Public Function ConnMgrMapURL(ByVal url As String, ByRef networkguid As Guid, ByVal...

Bitmap.Save problems

Hello, can anyone tell me if you know to be a problem with Bitmap and steganography for WM 6? I am working on a project and i have to hide a digital signature in a bitmap. The algorithm works perfect, as in untill i have the image on the memory the bitmap contains the modified bytes. But after i save the image (Bitmap.Save()) and I reo...

.NET Compact COM interoperability

I have the following code in a full .NET framework solution: public delegate int CreateObjectDelegate( [In] ref Guid classID, [In] ref Guid interfaceID, [MarshalAs(UnmanagedType.Interface)] out object outObject); ... var createObject = (NativeMethods.CreateObjectDelegate) Marshal.GetDelegateFo...

Is Lazy<T> supported in the compact framework?

Does anyone know if the new lazy initialization class (Lazy<T>) is or will be supported in the compact framework? I've looked on MSDN, but the support stuff listed on the bottom is kind of cryptic when it comes to support for the compact framework vs. the full-blown .Net framework. ...

Asynchronous HttpWebRequest giving exception

Hi all, I have pasted the code from msdn, from http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.begingetrequeststream.aspx in a sample application. But this gives error for contentLengh, so i have provided that. then it executes well. But at following point, it throws exception of InvalidOperationException and NotSuppor...

C#: How to set AsyncWaitHandle in Compact Framework?

Hi, I'm using a TcpClient in one of my Compact Framework 2.0 applications. I want to receive some information from a TCP server. As the Compact Framework does not support the timeout mechanisms of the "large" framework, I'm trying to implement my own timeout-thing. Basically, I want to do the following: IAsyncResult result = networkSt...

Set tab control style on managed TabControl

Is it possible to set a tab control style like TSC_BUTTONS on a managed TabControl? Windows CE 6 / .NET CF 3.5 ...