windows-mobile

capturing the enter key on textbox in asp.net for windows ce

Hi everybody, I want to capture the enter key on text for windows ce msie6.0 but there is no button for that so i cannot use default button property for the form tag itself. What else i can do to capture the Enter key? Thanks.. ...

Automatically display vertical scrollbar in multiline text edit control

On a windows mobile device I have a mutliline text edit control that is set to read-only and has some static text displayed during it's display lifetime. I would like to only display a vertical scrollbar when it's actually useful (i.e. the text is larger than the display). I can't easily figure out if the text is to large to display be...

How to make .cab file self-deleting on windows mobile app

I have my first Windows Mobile app ready for deployment (Windows Mobile 6). I have made my CABProject and made a .cab file that will install successfully. How can the .cab be made to delete itself after installation? Some things I read seem to indicate that this should be the default behavior. Thanks ...

How do I programatically remove an application from a Windows Mobile device?

We've recently updated a Windows Mobile app and I want to create a utility that will: remove the old version from the device install the .NET Compact Framework install the new app Steps 2 and 3 seem simple enough, but I don't know about 1. Is it possible? If so, how do I go about it? ...

Loading dynamic DLL fails with IOException in Windows Mobile.

I am new to Windows Mobile development and am running into a DLL issue. I am using Assembly.LoadFrom() to load a DLL on my handheld and it fails with the following: System.IO.IOException: File or assembly name 'MyCustom.dll', or one of its dependencies, was not found. The DLL does exist, I am doing a File.Exists() before this. Here i...

Browser Errors from the HTML Control (Windows Mobile)

I'm writing an app for Windows Mobile (VC++) which hosts the HTMLControl. If I send it a DTM_NAVIGATE message, how can I tell whether a browser error has occurred? In htmlctrl.h, none of the NM_* notifications imply they're sent in response to a browser error. Regards, Brian ...

Archiving text messages (sms)

I want to archive the text messages on my WM phone to my PC, preferably as XML. Can I access them from a PC application, e.g. through RAPI? I have no experience in WM development, just PC, and then mainly Delphi. Please no links to commercial application unless you think that's the only possible way. Edit No-one? You guys disappoint me...

VS2008, Windows Mobile Installer project

I'm using Visual Studio 2008 Professional Edition. I wrote an application for Windows Mobile and I would like to create the installer for this application. How does it do? ...

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 ....

Zoom on a PictureBox (Windows Mobile)

Hi! I'm developing an app for Windows Mobile. I would like to make zoom on a PictureBox's image. How can I do this? I think this is more complicated because I'm doing for Windows Mobile. Thank you! ...

Game messaging on mobile platforms?

Does anyone have recommendations on messaging for multi player games on mobile platforms? I assume SMS would be too expensive for the average player. I'm not talking about lots of real-time messages, but simply one message per player per round to all other players. Is there any available messaging that is cross platform (say, windows m...

C# Make one picture using various pictures

Hi! Imagine that I have a matrix of 2x2 or 3x3 pictures and I want to make one big picture using these 4 or 9 pictures. I want to show this picture on a pictureBox. I'm developing a Windows Mobile App. How can I do this? Edit: Moved comments to question for clarification.. Normally you asing an image to a pictureBox like this pictur...

SQLite vs. SQLCE vs. ? in a Mobile Application

When developing a mobile application on Windows Mobile, what are some of the database choices you've made? Why did you make that choice? In particular we've got a mobile app that we're building which will have up to 360,000 records in some of the tables. We were planning to use SQLCE 3.5 but we've got a number of drawbacks when working...

How can I detect suspend on Windows Mobile?

We are seeing some occasional data loss with our application on Windows Mobile, and we suspect that some buffered data is not being flushed to disk when the device is suspending. We would like to manually flush data to the disk when the device is about to suspend. On Windows, we do this by catching the WM_POWERBROADCAST message, but this...

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...

c# Matrix of pictureBox

Hi! I'm developing a puzzle game for windows mobile. The objetive is to split an image in nine parts and rearrage them to obtain the original image. These split images are put on pictureBoxes and these pictureBoxes are redistributed in a matrix of 3X3 cells. The user move this cells to arrange them in the correct position (it's a puzzl...

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...

How to continue execution when mobile device sleeps?

I'm developing an application that needs to execute until a count down. When the handled turns off the screen, the countdown halts. How can I continue the execution when this situation happens? ...

OutOfMemoryException On Mobile Device

I'm developing an application that uses a mobile device to take a photo and send it using a webservice. But after I've taken 4 photos I am getting an OutOfMemoryException in the code below. I tried calling GC.Collect() but it didn't help either. Maybe someone here could be give me an advice how to handle this problem. public static Bitm...