compact-framework

Resize images in Windows Mobile

Is there anyone who knows a way to resize images on the .net 2.0 Compact Framework? I want to be able to get images, taken with the camera on my phone, from the phones memory, resize them and then upload them to a webservice so I acctually don't need to store the resized images on disk. ...

Compact-Framework: Minimise and restore isn't working

I've written an application with the following in the Program.cs: rsCursor.Wait(); // Load the settings rsAppConfig.LoadConfig("iVirtualDocket.exe.config"); fSplash splash = new fSplash(IvdConfig.VERSION); splash.Initialise(); DialogResult result = splash.ShowDialog(); rsCursor....

Ignoring queued mouse events

I have an application written in C# targeting .NET Compact Framework 3.5, running on Windows CE. From time to time, operations lasting for a second or so are being performed on the UI thread. I currently set the Cursor.Current property to indicate that the application is busy, but this does not prevent mouse events from eager users to qu...

.net Out of Memory exceptions in Windows Mobile - how to overcome this problem?

I am currently writing a small application in Windows Mobile using CF.NET. The application is very similar in its behaviour to an e-mail application i.e. I am using POP3 to download messages and attachments from my mail-server account to store on the storage-card for further processing with a MIME-tool. My problem is downloading large ...

Hook close (X) button in compact framework appliacation

Hi, I want to do my own action on tap (click) to close button ( X in right top corner ) in compact framework appliaction. I'm using Windows Mobile 6.1. Usualy I want default behaviour, but sometimes I want to change the usercontrol on current form. How can I reach it? Thanks! ...

Sort a DataGrid by clicking on column headers in the Compact Framework?

Just as the title says, is this even possible in the .Net Compact Framework? There's all sorts of stuff it leaves out when comparing with the Desktop Framework. I'm wondering if the Compact Framework's got the upper hand on me with this feature request in our mobile app. ...

How do you get the current battery level in .NET CF 3.5?

How - or what's the best way - to retrieve the device's current battery level in .NET CF 3.5 on Windows Mobile 5 and 6? ...

compact framework show menu

Hi, is there some way how to show/popup menu item in main menu? I(ve not found any method to do it. I tried invoke protected mehtod "OnClick" by reflection, but it does not any efect. Thanks ...

Sql Server Ce 3.5 Identity insert

hi there got an issue with identity columns in Sql Server CE when using Server explorer, in VS2008, executing the following script SET IDENTITY_INSERT testTable ON; Insert into testTable (id,name) values (1,'Something') SET IDENTITY_INSERT testTable ON; sends the follow message error 'The Set SQL construct or statement is not supporte...

Is there a way to detect type of keyboard on Window Mobile?

I would like to be able to detect which type of keyboard a WM phone has, either 12-key or QWERTY to dynamically change the UI of my application. Is there a way to detect this reliably? Managed code solutions preferred. ...

Detecting if the Compact Framewok is installed on mobile device

Hi There, Ive written an application using the .net compact framework. One of the requirements is that a check is run before app runs to see if the compact framework is installed. If not I should prompt this to them and redirect them to cf download location. What would be the best most common approach to doing this. Obviously my .net w...

OpenNetCF SDF vs .Net CF 3.5

Going through the documentation of the SDF, i found many classes like the BitmapEx class or the TextBox2 class. I could see their members, but i could not find any text that explained to me why i needed to use them instead of whats given in the .Net CF 3.5 So, what i am requesting is something [a document] or someone to explain how or w...

Launching cab file from Visual C++ dll

Hi There, Does anybody know how to launch a cab file from a Visual C++ dll thats being used as a setup dll when installing an application on windows mobile. Basically, I need the dll to detect if compact framework is not installed and run required cab file if needed. I've beeg googling for something similar for ages with no luck. Surely...

Starting .exe from Visual C++ 2005 dll

Hi There, Does anyone know the code or have ideas on how to kick off an exe using visual c++ 2005. The environment the dll is on if Windows Mobile. The c# to do this using P/Invoke is [DllImport("coredll.Dll")] private static extern int CreateProcess(string strImageName, string strCmdLine, IntPtr pProcessAttributes, IntPtr pThreadAttr...

Trap mouse clicks outside of modal dialog

I have an application written in C# targeting .NET Compact Framework 3.5, running on Windows CE. I would like to provide a custom visual cue in a modal dialog if the user tries to interact with its owner window without closing the dialog first. Is it possible for a modal dialog to receive notifications of mouse clicks on its owner win...

How do I pop up the keyboard in Windows Mobile?

I'm trying to duplicate the following behavior (WM6). Go to Settings -> About -> Device ID. The Device Name textbox gets the focus, causing the onscreen keyboard to pop up. I'd like to be able to do the same in my application, preferably in managed code. ...

SerialPort.Open() freezes the system if data was received previously (Compact Framework)

Hi, I have a very weird problem here, maybe you guys can help me out. I have a Windows CE 6 device that uses a barcode card reader connected through a serial port. I'm using the Compact Framework's (v2.0) SerialPort class to handle this, and everything has been working fine. There's one problem, however. If a card is swiped at any point...

Anti-aliased rounded corners in Windows CE 6.0

I'd like to display a smooth rounded rectangle on an ARM device running Windows CE 6.0. I started with RoundRect, but the result had jagged corners, since Windows CE uses GDI and doesn't support GDI+ as Windows Mobile 5+ does. My current provisional solution has been to create a lot of little corner bitmaps, but since the rest of the GU...

Closing GPRS Connections On Windows Mobile

Hi There, Is it possible to get all open or cached gprs connections on windows mobile and programmatic force them to close? Ive been looking at connection manager api but cant seem to find methods I to do this. Regards Tony ...

GPS library for .NET compact framework

I'm thinking of writing simple application for Windows Mobile devices, where user could simply enter destination coordinates, and the app would calculate distance and show direction to the destination. But I haven't found any Free, preferably Open Source library with simple API to work with GPS. ...