I have created a sample gadget (of course using google :D). It shows "Hello World!".
I have created a .gadget file for installation of this gadget.
I have written an application that does ShellExecute to install this gadget.
I can see my hello world gadget.
Fair enough. And good lessons learnt.
Now I would like to write another application that closes this gadget and removes it from the sidebar.
Is there any programmatic way to do this?