windows-mobile

WM_WTSSESSION_CHANGE message is not being received consistently

Hey, I have a program that needs to minimize itself when a person starts a RDC connection to the machine. My program calls WTSRegisterSessionNotification when it starts up and I also added a WM_WTSSESSION_CHANGE case inside my main WindowsProc function. For some reason in Windows 7 this logic intermittently works, and in Window...

XML file is not reading correctly in Windows mobile

Hi friends I am reading xml file for windows mobile app , am getting "Invalid at the top level of the document. Error processing resource ,file when i see read buffer data in XML visualiser". What should be reason ? eventhough i have correct XML data. ...

WM and C#: How to set up a WiFi Ad-Hoc connection programmaticaly ?

I am trying to build a Walkie Talkie application for a Windows Mobile 6 phone in C# using the .NET Compact Framework. I can't figure out how to set up an Ad-Hoc WiFi Connection programmaticaly. Does anyone know how to do that and what APIs to use? ...

Block phone useage on a Windows Mobile 5 device

I am developing a Windows Mobile app that my company is providing the devices for. We do not want our users to use the phone that is part of the windows mobile device. Does anyone know a way to block phone usage? If it matters, the device type is a Symbol MC-70. Thanks in advance for any input. ...

Looking for a control for selecting a directory in Windows Mobile (using .NET Compact Framework)

Looking for a control for selecting a directory in Windows Mobile (using .NET Compact Framework). I can find an open and save dialog, but nothing for selecting a directory. Ideally, I'd like this to target the 2.0 framework, but I'm flexible. ...

Is it possible to make Idle time befor exit my program ?

Hi Is it possible to make Idle time befor exit my program ? I made Windows mobile C# program and i want that after 5 minut's - if the user not press any key or tap the screen, the program will exit. how I can make it ? thank's in addvance ...

Dialog display in Windows Mobile6.0

Hi Friends, This is the what linking error's i got when i created one dialog box for windows mobile 6.0 1>dynamenu.obj : error LNK2019: unresolved external symbol "long cdecl DisplayDlg(struct HWND *,unsigned int,unsigned int,long)" (?DisplayDlg@@YAJPAUHWND__@@IIJ@Z) referenced in function "long cdecl WndProc(struct HWND *,unsigned int...

Change the color of particular cell in datagrid?

Hello, I'm using VS 2008 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 color of particular cell according to some condition. How do I do this? Thanks in advance... ...

Keep a Windows Mobile Console App Running

I have a windows mobile app that look like this: class Program { static void Main(string[] args) { RunHook runHook = new RunHook(); } } class RunHook { private HookKeys hook; public RunHook() { hook = new HookKeys(); hook.HookEvent += EventForHook; } private void EventForHook(Ho...

mobile game monetization sdk

Hi, I developed a game for Windows Mobile. I am looking for a platform/SDK such that it will allow me sell extra levels and other in game items. There are SDKs for adding ads to the game (e.g. admob) but that is not what I am interested in. Basically I need a platform that will handle purchases for me. And they provide APIs that would a...

How to convert datagrid to listbox in windows mobile ?

Hi I have Dategrid in my C# windows mobile program that contain alot of data. it's work very slow. i want to show this datagrid in listbox, is it possible ? can i have sample code for it ? thank's in advance ...

How do I add files to a windows mobile device when deploying it?

I have a number of images and a CSV data file that I want to deploy to a windows mobile device along with my application. I'm using Visual Studio 2008 and C#. I've added a "Content" folder to my project which contains the bmp images and the CSV file. When running my program on the emulator (by hitting F5) only the app is deployed, and n...

Rotate an Image in Windows Mobile Programming

Are there any mechanism within Windows Mobile programming to rotate a Bitmap? I would like to rotate this to any angle. ...

Is there a way to modify the callback function associated with the "talk" button on windows mobile 6.1?

My main aim is to have the windows mobile directly route international phone calls through a calling card. To do this I would need to append the calling card access number and a "pause" before the number being called, if it is an international number. It seems that this could be done at two different layers, but I am not sure how to do i...

if Windows mobile program crashed, How to make reset to this program ?

Hi if my C# Windows mobile program crashed, How to make reset to this program ? (automatic - without any user interference) thank's in advance ...

Windows Mobile : How to bind dropdown's selectedvalue to a column in table A and the list data to a lookup table B?

Hi, I am trying to learn the basics of Windows Mobile development against SQL CE and have come across a basic problem. I have two tables. One called Customers that stores customer info and has an identity column called ID as the primary key. The other table is called Orders which has a column called CustomerID (the FK constraint is p...

Scrolling Dialog in MFC on Win CE / Windows Mobile

Hi, I'm building a dialog based Windows Mobile application. My main container dialog has a tab control which alternates between different child dialogs (as separate tab sheets). As I have limited display real-estate I need my dialogs to scroll vertically. Following some online example, I added a vertical scroll bar, and the appropriate...

Windows Mobile - package mp3 with my application

Hi I am creating a Windows Mobile application for the smartphone. I want to include some mp3 files in the application resources and use them in the application. I have included these mp3 files by adding them to the solution directly but when I try and access them, I get a NullReferenceException. Can someone please tell me how to packag...

Windows Mobile to Windows CE, VB.net

I'd written an application in VB .NET for the Windows Mobile 5.0, yesterday a customer wants to use the application on there existing Symbol MC90XX that runs Windows CE 5.0. Can someone tell me what is the best way to convert from VB .net Mobile to VB.net CE? ...

How to print to barcode printer from windows-mobile 2005 ?

Hi I need to print to barcode printer (zebra) from windows-mobile 2005 (motorola hc700) I search any sdk...not fount how to print. thank's for any help ...