Archive for the ‘Windows’ Category

Ever wondered how contact application searches using all the character mapping of a key?When you press the “2” key it matches all the contacts 

with ‘a’,’b’ and ‘c’. If you want to have the same kind of functionality in your application then the magic lies in the following registry key:

 “KeyboardMappings” = REG_SZ

This has the mappings for all the keys and there corresponding character values.


Read Full Post »

Very often there is a requirement that we should find out when an Windows Mobile device has connected with a PC.I know that I had one :-).

There are 3 ways,that I know of,using which we can achieve this objective.

1.First approach is registry based.There are two predefined events “AutoStartOnConnect” and “AutoStartOnDisconnect”. Both of these have associated registry key namely [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect] and [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnDisconnect]. You add an entry here which would enable your application to be executed when these events occur. To do this you simple need to add a new string value and data would be path and name of your application and command-line if any. e.g. MyApplication – “C:\Myapplication.exe”

2. Second approach is COM based. This needs more work but you are also rewarded with more functionality :-).

Two COM interfaces are used to register an application for the notification.IDccMan and IDccManSink. Of these IDccMan is implemented by Active sync connection manager so as an application developer you just need to implement IDccMan.(Note: there is another interface IDccManSink2 which extends IDccMan and provides support for IPv6). (more…)

Read Full Post »

Microsoft has announced the release of VisualStudio 2005 Service Pack 1. It can be downloaded from here.

Following are some of the features of this update:

  • New processor support (e.g., Core Duo) for code generation and profiling
  • Performance and scale improvements in Team Foundation Server
  • Team Foundation Server integration with Excel 2007 and Project 2007
  • Tool support for occasionally connected devices and SQL Server Compact Edition
  • Additional support for project file based Web applications
  • Windows Embedded 6.0 platform and tools support
  • Read Full Post »

    For months web and blogosphere has been abuzz with the rumour that Apple is going to launch a mobile phone with the brand name iPhone. It turns out that this saga had a twist in the tail- iPhone was released alright but it wasn’t Apple but it was by LinkSys!.iPhone is there new line of VoIP enabled phones, and aparently they had the name patented in 2000.

    Now there is another rumour going on that Google would be launching a phone (gPhone?). Google is supposed to have teamed up with Orange and HTC is supposed to be the manufacturer of this phone. HTC is one of the biggest manufacturer of Windows Mobile based phones. Hence the logical offshoot of this rumour is that gPhone would be windows mobile based. Wonder what would be the twist in the tail for the gPhone saga..:-)

    Hmm..interesting times..:-)

    Read Full Post »

    There can be no ambiguity on the point that piracy of software and other intellectual property is bad for everyone concerned. It’s bad for the companies,as they have invested money and time on it.It’s bad for the artist/engineers as they dont get any return on what is the fruit of there labour.It’s bad for the consumer as companies and artists loose all the motivation for further innovation which ultimately harms consumers. (more…)

    Read Full Post »