Thursday, June 28, 2007

Calling a .NET class from a Gadget

We can call a .Net Assembly from a Vista gadget in following ways
1. We can interact with COM component by using the ActiveX Object constructor.
2. They are also different ways to interoperate with an application or a web service using WCF
3. A reference to Windows Forms UserControl is another option.
4. Last way is to dynamically execute a command line application, pass it arguments and get back output.


hB said...

What so different in it?

Naveed Bajwa : Bajoo said...

The thing that is different here is that you are calling this code from an JS file, which only contains script.