Integrating WinForms and WPF using ElementHost

I didn’t know this was possible until a few days back when a user asked about it on one of the MSDN forums. The query was on how to integrate Winforms and WPF i.e. how to display WPF user controls in Winform application. This feature can be extremely useful because some elements [...]

Using the Win32 API’s SendMessage to make .NET talk to C

In the last post, we saw how the Message Loop in Windows works, with Windows constantly getting messages from the various events and dispatching them to correct window procedures. The Window Procedure then takes the message and it is responsible for handling the event. This handling of the message is done in the [...]

Application.DoEvents() and the Windows message loop

From an end user point of view, your application UI is the single most important part of your application. There may be a million lines of code in the business layer doing all sorts of magic, but try giving a unresponsive UI with it, and no guessing, how many takers you will find [...]

Mobile number portability soon in India

This one was lone long due. TRAI has been talking about giving consumers the freedom to switch operators without actually switching the number, but cell phone cos seemed to be dragging their feet on this one. After a long time, a date has been given – the end of the year Dec 31st 2009.

It doesnt [...]

KeyFrame animation in Silverlight

In my previous blog, I wrote about the simplest form of animation in Silverlight – the FromTo animation, which allows you to modify the value of Control properties thus giving animation effects like Fading in-out, movement and many more. KeyFrame animation is different as in it gives you more control in defining both the duration [...]

Delegate Chaining in C# .NET

Delegates are not just function pointers with a fancy name, they are a huge leap over C++’s function pointers. Unlike unmanaged languages, .NET enforces type safety for its delegates. Good, because pointers are too scary to be tolerated in .NET’s perfect world, where there are no memory leaks and all a developer [...]

Accordion Control In Silverlight 3

Few days ago I blogged about the Silverlight TransitionContent control. In this post we will see the Accordion Control in the Silverlight Control Toolkit. The Accordion is a very common control which we use in a lot of places. For e.g. the Outlook List of mails is an accordion. As you would have guessed it, [...]

Got my MCPD certificate – Yippee

Finally got my MCPD certificate and logo….

P.S: I posted the logo on the blog sidebar.

Image transition using Silverlight Transition Control

Displaying a slideshow of various images is a very common requirement these days. It can be done very easily using the Transtion Control in Silverlight Control Toolkit. Lets see how.

First create a Silverlight Application using Visual Web Developer.

The Transition Control is a part of the Toolkit, which we need to add a reference to. Right [...]

Integrating twitter with your Wordpress blog

Here’s how. Download the wordpress plugin Twitter Tools here. Unzip and copy the folder to your wordpress blog’s wp-content/plugins folder using any FTP Client (I use FileZilla) . Once done, you should see the list of plugins in your Wordpress Admin page (To see click on Plugins -> Installed ) . There Activate all the [...]