Archive for March 2012

Mobile Development: AutoHide Windows Mobile Device Center 2

In an earlier post I wrote about a tool to autohide the annoying WMDC window. As a developer I dont like to keep WMDC come up every time I connect a device. I just need to know, if the device is connected or not.

Fortunately, Henkie leaved a comment about a usefull alternative for WMDC. But as commented here, no visual control of the connection.

Now I started to think about a small tool to have a visual control of WMDC connected or not. I had to use RAPI either provided by MS or via OpenNetCF.Desktop.Communication. Although the OpenNETCF one works OK, I was not satisfied, as it was impossible to get a connection status without disconnect/connect. So I went back to WIN32 API and wrote this small tool based on DeviceInfo sample of Windows Mobile 6 SDK.

First I again messed up with notification icons in Windows 7 (64bit). But the icon may be removed or not, depending on Windows 7 decisions I dont know.

So the tool uses a simple window and an icon to let you know the connection status.

Just start the tool and the icon and edit window background will show, if device is connected or not. The application icon in the title bar as in the taskbar button will change from gray to color for a connected versa a disconnected device.

Visual Studio 2008 C/C++ Win32 code and exe: [Download not found]

Windows Embedded Handheld 6.5.3: disable all connection dialogs

Here a small tip:

To disable all Connection Manager Dialogs set the following registry key:

[HKLM]Software\Microsoft\Shell\Rai\:MSREMNET\Disable
“All”=dword:1

to disable only certain dialogs or notification bubbles, use IDs like IDS_RAS_CARRIER_DROPPED:

[HKLM]Software\Microsoft\Shell\Rai\:MSREMNET\Disable
“0”=dword:1

to disable multiple dialogs, simply define additional IDs. For example to disable dialogs for IDS_RAS_DEVICE_NOT_READY and IDS_RAS_NO_ANSWER:

[HKLM]Software\Microsoft\Shell\Rai\:MSREMNET\Disable
“3”=dword:1
“5”=dword:1

Have fun

List of all IDS values:  IDS dialog values (6788 downloads )

WM 6.5: Remote Desktop Client disconnects after 10 minutes rev 3

Just a post to let you know, that RDM_KeepBusy for WM6.5 has been updated