windows-mobile

Build a custom drawn control for .net compact framework

I just started on the .net compact framework. I want to draw a Sudoku field on the screen. So I put down a PictureBox and defined a method for the Paint event: private void pictureBoxPlayfield_Paint(object sender, PaintEventArgs e) { // use e.Graphics to draw the grid, numbers and cursor } This works, but you can see as the grid i...

is there any way to show checkbox in dataGrid - windows mobile ?

hi is there any way to show checkbox in dataGrid in my C# program on Windows-mobile ? (FW 3.5) thank's in advance ...

Controlling form elements from a different thread in Windows Mobile

Trying to get a thread to change form controls in Windows Mobile. Throws an unsupported exception. Does this mean it cant be done at all? If not, how do I go about this? Forms are created in the Parent/Main thread then a thread is created to do some work in the background but I want to make it so the Background thread can update the f...

hook keys windows mobile

I got handle of Phone window , and hook the window like below: Private Sub SetHook() mOldWndProc = SetWindowLong(mhWnd, GWL_WNDPROC, Marshal.GetFunctionPointerForDelegate(mProc)) End Sub 'Restores the original window procedure for the control. Private Sub Unhook() SetWindowLong(mhWnd, GWL_WNDPROC, mOldW...

windows mobile - connection link failed

Windows mobile 6.1 device, attempting to connect via a mobile network and we sometime see the message "Connection Link failed". Can anyone verify what this actually means, I'm beginning to think it relates to signal from the mobile carrier but does anyone have any other ideas? ...

set backlight time

Hi, Is there any way to change backlight turn off TIME using programming(Preferred c# or vb.net other c++ can be used too)? I guess, may be it is changed using registry info or API. Manually, it is done by: Setting > Backlight (Battery Power and External Power) Thank you ...

Installer with Certficate failing

I have an installer (cab file) that I added a certificate to so that it will trust my web site and services. This was done using this method. When I try to run the installer with out the certificate in the cab file it works fine. But after I add it in the installer seems to run, but then after it is done I get an error saying: "My In...

Install a certficate on a Windows Mobile 5 device Silently

I need to install a certificate on a Windows Mobile device. I have tried creating a cab file to do it, but the cab file fails to run. I have a lot of devices that are not all physically near me that I am going to need to put this on, so any manual process is just not feasible (ie, if it needs active sync then it is not going to work). ...

Deploy Window mobile application on Emulator 6.1

Hi, I want to deploy my windows mobile application on windows Mobile 6 emulator, so that there is no dependency on Visual Studio 2005/2008. I require this for testing and demo purpose. Thanks, Mrinal Jaiswal ...

Image Size With J2ME on an HTC Touch2

I'm trying to ascertain wither there is a limitation on the camera access in the j2me implementation on the HTC Touch2. The native camera is 3MP however it seams that the quality is notably reduced when accessed via j2me, in fact it seams that the only size and format the .getSnapshot() method is able to return is a 240x320 pixel jpeg. I...

How to read barcodes from camera on .NET Compact Framework?

Looking for a solid solution for handling reading barcodes from Windows Mobile devices using .NET Compact Framework. Ideally something open source or free, but not against paying for something that works well. I'm looking for a high quality solution if one is available. ...

backlight of windows mobile

Hi, How can I detect using c# if state of backlight is turn on or turn off? After specified time, backlight turn off in mobile. Thank you ...

How to Install QueryAnalyzer on Windows Mobile 6.5?

I don't know if it is just me, but searching on google didn't reveal me answer to my question "How to install QueryAnalyzer for SQL Compact 3.5 DB on Windows Mobile 6.5 Professional emulator device". Does somebody knows how to do it? ...

How to configure windows mobile emulated device on a virtual-machine(VPC2007) so it can see local network?

I have VirtualPC 2007 virtual machine with VS2008 and Windows Professional 6.5 Emulator image. Using vxUtil I see that my emulated mobile device has IP 192.168.5.17 and from it I can ping 192.168.5.7 (that is IP of a virtual machine where it is installed emulator mobile device). From virtual machine I can ping 192.168.5.1 (domain server...

Windows mobile 6.0 network settings

Hi I am using Windows mobile 6.0 classic PDA's , I want to use wireless to access my service on the server(Win 2008), what should be my settings in the PDA network management? here's what my settings which works for some PDA's and for some it works for some time and stops? and for some PDA's similar settings does not work at all?? "Pro...

How to supply a password to POWER_STATE_PASSWORD?

I am trying to get the powerstate for my windows mobile device. The states are defined as: #define POWER_STATE(f) ((f) & 0xFFFF0000) // power state mask #define POWER_STATE_ON (DWORD)(0x00010000) // on state #define POWER_STATE_OFF (DWORD)(0x00020000) // no power, full off #define POWER_STATE_CRITICAL ...

Windows Mobile 6 Emulator web browser connects to local machine but not the internet - how to?

I've configured Windows 6 Professional Mobile Emulator, and am trying to get an Internet connection on it. Currently when I browse to any address, I get my local box's IIS, and no outside addresses. On my box: I have Virtual PC 2007 installed. I have, so far, in my Visual Studio .Net app, cradle the device emulator. Allowed connection...

Read from "output" as from "input"

Hi Dear community! Some on of you saw this. So the question is, how to access mobile audio out in read mode? Thank you! ...

How to get the height of the lower menu bar of windows mobile 6.5.3

Hi guys, Is there any possible way to get the height of the lower menu bar - the one with the start menu - on windows mobile 6.5.3? I can get the height of the upper menu bar using different ways, such as using function SystemParametersInfo and sending SPI_GETWORKAREA as its uiAction parameter, or using GetMonitorInfo function, but all ...

mobile application cannot see remote sql server!?

Hello all, I am sorry for bothering you with my probably low level question. I would like to develop a very very very simple application which will connect the MS SQL SERVER in my notebook and will be run at hand terminal-with windows mobile 6. Here is the code which i used : Dim strSQL As [String] = "SELECT COUNT(studentid) AS tot...