windows-mobile

Hide windows mobile app instead of closing

I've got a windows mobile app, which needs to keep running to do some task in the background. To hide the app instead of closing it was easy: protected override void OnClosing(CancelEventArgs e) { e.Cancel = true; this.Hide(); base.OnClosing(e); } The problem: how do I show the app again, when the user starts it in the menu? Wi...

Media Player Control for .NET Compact Framework

Is there any free media player control library that allows us to play videos in a .NET Compact Framework application? We tried the one available at http://www.coppercoins.de/post/2008/11/03/WMP-Part-IIIa-Creating-new-Interop-Assembly-for-Mediaplayer.aspx, but having issues with memory problems and access violation errors. ...

design pattern in Compact framework

Hi All, I have been working on Web application so far and has just got an opportunity to work ong Microsoft Compact Framework. i am pretty new about the framework. In ASP.net application I have been following some of the predefined Design patters and sometimes frameworks like CSLA.net or Factory/Abstract Factory. Now while looking at t...

Tessnet2- Can't find referenced assembly (C#)

Hi, I decided to use tessnet2 library for my windows mobile project. Unfortunetly while I am trying to compile it, it throws an error: The best overloaded method match for 'tessnet2.Tesseract.GetThresholdedImage(System.Drawing.Bitmap, System.Drawing.Rectangle)' has some invalid arguments The type 'System.Drawing.Rectangle' is de...

What is are the tradeoffs of developing under Windows CE 6.0 vs Windows Mobile 6.1

I have a Windows .NET application that I plan to "port" and tailor to a mobile device. The application consists of a standalone .NET program that works with a barcode scanner, has a simple UI and records the scans to a file. There is also a Windows Service that synchronizes data to a server using web services (proprietary sync protocol...

Windows Mobile: Deployement error?

Hello, It may be simple question, but i couldn't find the solution yet, so querying it below. How to kill(not programmatically) running my app in Windows Mobile Standard 6.0 Simulator? I was looking into Task Manager app, but it doesn't available in this simulator. Though i exited my app and come to home screen, seems to be my app does...

Rich text on pocket.outlook?

Hi, On desktop outlook, the "body" property of tasks and calendar entries may contain rich text (formatting, links, etc). However, when using pocket.outlook on WM, I am only able to access a "plain text" version of the text that is stored. Is there a way to obtain it in "rich text" format? Many thanks! ...

Resize transparent images in windows mobile using C#

Is there a way to re-size a transparent image in windows mobile(C#)? I can re-size the image but I am losing the transparency. It is being replaced with white. Here is what I have now public static void ResizePicture(string imageFileName, Size maxSize) { using (Image src = new Bitmap(imageFileName)) { using (Bitmap dst...

How to get Call history in c# with windows mobile 6.1 sdk

It's there a place i can find documentation on the windows mobile 6.1 sdk. I need to get the call log history in my application. Nobody know how ? ...

Windows Mobile:No listview sample for C# WM standard SDK development?

hello, Forgive me if i'm wrong. I am trying to learn and build listview to show the text vertically in listview. I'm wondering that no-where i found listview samples for WM standard SDK using C# language. Can you share if you know any details about listview samples for WM standard SDK using C# language? Please note, i need to show the t...

Using Win32 dll in c# Application(returning char* to c# problem)

Hi, I am working on c# application(Using win 32 dll in my apllication)...I am trying something like this In DLL(test.dll): char* Connect(TCHAR* lpPostData) { char buffer[1000]; ..... return buffer; } IN c# application: [DllImport("test.dll", EntryPoint = "Connect", CharSet = CharSet.Unicode)] [return: MarshalAs(UnmanagedType.LPWS...

Get missed calls in windows mobile

For Windows Mobile 6, I'd like to get the count of missed calls in my application. Is there a function to retrieve the missed calls? ...

Need to add "exe" version info to a mobile device exe created in VB

I want to add version info to my mobile device exe file and apparently the following line is not supported in CF (windows mobile 6.0), ideas?: <Assembly: AssemblyFileVersion("1.0.0.0")> I want to be able to to right-click on the .exe after it is copied over to the PC and have the version displayed in a version tab just like any other...

Autostart program on windows mobile

How can I automatically start my program when windows mobile is started? (The program should be aware of being started by autostart) ...

How to create dynamic UI?

Recently, I got a application to build for various mobile phones. Basically the Windows Mobile 6.x phones. After thinking a little a bit about the application I stuck at one place. How one can build a portable application that work with different resolution and different screen size phones. So that UI is visible correctly on all the phon...

Is it possible to view a silverlight or asp.net 3.5 website deployed on IIS 6.0 in Windows CE 5.0 browser?

Hi All, I am planning to buil a website in silverlight and deploy it on IIS 6.0. I am not sure whether the application could be browsed in Windows CE 5.0 browser. If it is nto possible to view silverlight application than is it possible to view asp.net 3.5 application in Windows CE 5.0. ...

Missing Windows Mobile Target in Visual Studio

I cannot select the Windows Mobile 5.0 SDK target in Visual Studio for some reason even though the file "...\Microsoft Visual Studio 8\VC\vcpackages\WCE.VCPlatform.config" contains the target. How come I can't select it in VS? How do you get VS to recognize it? ...

Is there a tool to open a text-file directly from a remote (WM) device?

I have asked this question on superuser as well, but have not yet gotten a satisfactory answer. Since I feel that this question is relevant to (Windows Mobile) developers, I decided to ask it here as well. If you feel this is inappropriate, please don't hesitate to close or delete this question. When I browse the files on a remote Win...

Issue connecting to SQL Compact Edition on Windows Mobile 6 Emulator

I am developing an application for Windows Mobile 6 using an emulator. When I try to open the database connection to the SDF file it is throwing an exception that it is not able to connect or find the file. My questions are: Where on the mobile device is the SDF file supposed to be deployed? Does the SDF file get automatically deploy...

Update Route Tables on Windows Mobile 5 or 6

Anyone know how to show and update the routing table on Windows Mobile (like you would with the route utility on Windows)? My first choice would be a utility, second choice would be C# code, third choice C code. ...