How can I write gadgets for the Windows 7 desktop using C# and Visual Studio 2008? I'm looking for tutorials and resources on that topic.
            Asked
            
        
        
            Active
            
        
            Viewed 5.1k times
        
    15
            
            
        - 
                    4Think this should be community wiki – Lloyd Powell Jul 23 '09 at 13:13
 - 
                    2http://stackoverflow.com/questions/128434/what-are-community-wiki-posts-on-stack-overflow – Lloyd Powell Jul 23 '09 at 13:25
 - 
                    5Why wiki? Straightforward question. – John Saunders Jul 23 '09 at 13:26
 - 
                    1google.com and microsoft.com are fairly good indicators of if you have a working internet connection or not. In 2007, Google had a total downtime of 7 minutes and Microsoft clocked in 13 minutes. – Robert Venables Jul 23 '09 at 13:26
 - 
                    1George, you mean Gadgets for Vista and Windows 7? – John Saunders Jul 23 '09 at 13:26
 - 
                    2By any chance did the 7 and 13 minutes overlap? – Lloyd Powell Jul 23 '09 at 13:27
 - 
                    I want to write Gadgets for Vista, if the same code could work for Windows 7 or later version, it will be great! Any recommendations? – George2 Jul 23 '09 at 13:32
 - 
                    2@ThePower - I don't think so. I can't find any mention of the two overlapping. – Robert Venables Jul 23 '09 at 13:33
 - 
                    Hello gurus, let us come back to my original quesiton, any turorials about how to develop gadgets for recommendation? – George2 Jul 23 '09 at 15:34
 - 
                    @ThePower, I do not find discussion about how to develop gadgets from the wiki link you recommended. Could you clarify please? – George2 Jul 23 '09 at 15:35
 
3 Answers
9
            Try Authoring Sidebar Gadgets in C#.
C# is not the only option. This detailed tutorial explains how to develop gadgets without C#. (Orginally gadgets were authored in a mix of XML, HTML, CSS, and some IE scripting language.)
How to get started with Windows 7 gadgets is a related Stack Overflow question that may also provide additional information.
2
            
            
        I have not tried it myself, but this might help:
        aschoenebeck
        
- 439
 - 7
 - 9
 
- 
                    1Hi, this is not a tutorial about how to write gadgets, but how to write a plug-in for VSTS to develop gadgets. Any turorials about how to develop gadgets for recommendation? – George2 Jul 23 '09 at 15:33
 
2
            
            
        Gadget-creation, calling your .NET-code via Interop: http://www.codeproject.com/KB/gadgets/GadgetInterop.aspx
nice & powerful with good example
        Steav
        
- 1,478
 - 13
 - 28
 
- 
                    Also: Visual-Studio Solution-Example for a Silverlight-Gadget: http://www.lazarciuc.ro/ioan/2008/08/02/creating-a-vista-sidebar-gadget-using-microsoft-silverlight/ very tricky, but enables you to design your gadget with silverlight. – Steav Apr 16 '10 at 06:27