compact-framework

c# CF, WinForms and double buffer

Hi! I have a CF 2.0 app with a PictureBox on a Form. I want to move the PictureBox with mouse move and I need to add Double Buffer to the form to avoid flickering. How can I do this? Thanks! ...

Update .NET Compact Framework - when?

As many of you know, in Barcelona last week at the Mobile World Congress, Microsoft presented a "beta" of Windows Mobile 6.5 which will probably be launched later on this year. I have been reading a lot of articles on the web about this congress and the new features of Windows Mobile 6.5 but nowhere have I found any indications if the ....

What is the memory footprint for .NET Framework Compact Edition?

Hello all, What is the memory footprint for .NET Framework Compact Edition? Thanks. ...

compact framework phone keypad input

I am developing an application for a device that has a keypad similar to a phone in which the 2 key is also for ABC, the 3 key is also for DEF, etc. The expected behavior is similar to a cell phone - if the user presses the 2 key repeatedly it will cycle through 2,A,B,C. Is there some standard way to do this or pattern for implementing...

Choosing the right image size in Compact Framework

hello, i'm developping an application in CF 3.5 for windows Mobile 6 Pro using C# and i have a little issue requiring the advice of someone that knows better. Basically, i want my application to run and scale on multiple device sizes and resolutions. Eveything scales properly but the images. Some images that are for example 16X16 will l...

Visual Studio Content Installer (VS2008) for .NET Compact Framework v3.5

I have two questions: Can I use Visual Studio Content Installer for Visual Studio 2008 to install .NET Compact Framework custom controls in Toolbox? If answer to question 1 is "Yes", what will be FileContentType value in .vscontent file for control.asmmeta.dll file and control.designer.dll? Do I have to be careful about any other infor...

Self updating .net CF application

Hi guys/gals, I need to make my CF app self-updating through the web service. I found one article on MSDN from 2003 that explains it quite well. However, I would like to talk practice here. Anyone really done it before or does everyone rely on third party solutions? I have been specifically asked to do it this way, so if you know of an...

Does the ADO.NET Entity Framework Support Compact Framework

Well does it? ...

OCR image in .NET Compact Framework

Is there any library or code samples to convert an image to text in the .net compact framework? I have seen an app on a mobile phone that you can take a picutre of a business card and it will auto fill in a contact record so I know it is possible but I was wondering how to do it. I searched google and can't seem to find anything specifi...

Compact-Framework: Play default text alert and vibrate

Hi all, I'm trying to put a notification into my compact framework 2.0 application that allows me to inform the user when they've received a new job. I've tried to use the following code with the latest community edition of SDF: try { OpenNETCF.WindowsMobile.Vibrate.Play(); Thread.Sleep(duration); OpenN...

VS2008 - benefit of running Unit Tests for a CF Library on an emulator?

When using the VS2008 unit testing framework, I see the testrunConfig has an option to set the Host. If I change the Host from "Smart Device" to "Default" it appears like I can run the tests without deploying to an emulator. I am wanting to test a library built for use on the Compact Framework, but it has nothing to do with the UI, etc....

Detect and re-activate my app if running - compact framework

Usually a mobile dev would not have to do this because the smart-minimise feature handles it. But I need to do it myself because my mobile app is kicked off by a bootstrapper app. The start menu icon kicks off the bottstrapper which downloads a target version from a web service, kicks it off and then closes. If the app gets minimised ...

How do I search XML files on a .NET Windows Mobile Handheld?

I have a .NET Windows Mobile 5.0 application that is used for data collection. For purposes of this question let's say it's a survey application with two screens - a survey list screen and a survey detail screen. You click on a survey in the survey list screen to display a survey detail screen with the detail information for the survey y...

Compact-Framework: Windows Installer Question

Hi all, I've finally finished my killer app and now I've got a bit of an issue. I've created my cab file (builds fine and installs perfectly/runs perfectly on the PDA device) and now I'm trying to create my windows installer. I've followed an MSDN article of how to create the installer (see here), however it seems to be missing some in...

Resize (Zoom in and Zoom out) in Compact Framework (C#)

Hi! How I can zoom in a bitmap on Compact Framework? I read this article and http://geeks.netindonesia.net/blogs/clawford/archive/2008/04/20/resizing-bitmap-tutorial-in-net-cf.aspx and it's only to make the bitmap smaller. Thank you! ...

SQL Group By question SQL Server 2005 CE

Hi everybody, I'm having a problem with an sql query that i use for my mobile application which uses sql server 2005 ce. I'm not so good with t-sql, so have a problem with this query SELECT TP.ID_TASK_MASTER, TP.ID_PROBLEM, TP.ID_TASK_PROBLE, P.DS_PROBLEM, TP.SW_HASOK, TP.SW_HASNOK, TP.SW_HASTOK, TP.SW_HASVALUE, TP.NO_...

How can I calculate the number of lines in a text box?

I am hoping that someone can help me with a problem I've got at the moment using Compact Framework.Net 2 SP 2. At the moment I have a UI with a series of text boxes and each textbox displays the contents of a database field. These are shown one beneath another with a scroll bar on the right hand side of the form. Each textbox has a set ...

Compact Framework Serial port Open function

Is there a way to tell whether the serial port has been opened successfully? The problem is that if the serial port not opened, no exception is thrown, and there is no way for users to know what the issue is. Any input? ...

Compact Framework serial port and balance

So, to open up a serial port and successfully transmit data from the balance through the serial port, i need to make sure that the settings on the serialPort object match the actual settings of the balance. Now, the question is how do i detect that the connection hasn't been established due to the settings being different? No exception ...

Change font of cell in DataGrid on Windows Mobile

I'm using VS 2005 to create a Windows Mobile program in C#. I need to display data in a grid. The only grid control I could find for Windows Mobile is DataGrid, so I placed one on my form. I now need to change the width of some columns and the font & color of some cells. How do I do this? Also is there is a better control to use for...