Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Introducing Windows Vista Sidebar and developing a gadget

Download

Right click “Save as…”

Author: Hi, I am Daniel Moth Big Smile

Introduction: You may read about Sidebar and gadgets on my blog here, here and here.

Video Content:
00' - 08'  Sidebar and gadget feature review
08' - 19'  Building your first gadget from scratch
19' - 21'  Other gadget APIs
21' - 22'  Summary
22' - 24'  Built-in gadget code
24' - end Close

Video Download: Either click on the left to play the video (from a streaming file) or to download it in a zip file save it from here.

Tags:

Follow the Discussion

  • Tommy CarlierTommyCarlier Widen your gaze
    Nice overview. Thanks.
  • Thanks Tommy, glad you enjoyed it Smiley
  • Nice... But OH ... MY ... GOD! what an annoying soundtheme! Almost made me turn the sound off!

    Wink

    Christian...
  • Lol... You are right Christian... I almost re-recorded the thing when I realised, but thought it was too annoying not to share [6]
  • jBuelnajBuelna Never mistake motion for progress.
    Daniel Moth wrote:
    Lol... You are right Christian... I almost re-recorded the thing when I realised, but thought it was too annoying not to share


    Ah, Camtasia clicks.  Lovely.   I really enjoyed this screencast.
  • jBuelna wrote:
    
    Daniel Moth wrote: Lol... You are right Christian... I almost re-recorded the thing when I realised, but thought it was too annoying not to share


    Ah, Camtasia clicks.  Lovely.   I really enjoyed this screencast.


    Thanks... Rest assured those pesky clicks are not present in any captures following this one... e.g. check this one out (shameless plug Tongue Out)!
  • jTakasu(Moo)jTakasu(Moo) Moooooooooo​oooooooo!

    It is good-looking.

    I will make the gadget referring. Wink

  • nikez2k4nikez2k4 You know you want to...
    Daniel...

    That has to be one of the best tutorial videos I have ever seen. Really enjoyed watching it...even if it did include the clicks! Smiley

    Had to register just to say thanks for posting it. I am very new to Channel9 so not really sure what I am doing yet...but have you done any other Sidebar videos?

    Take care,
    MOZ
  • Hi MOZ
     
    Welcome to channel9 and thanks for your kind words, much appreciated Big Smile

    Sorry, I have not done any other Sidebar videos but there are plenty of links to more gadget information from the links to my blog at the top.

    For more videos like this one but on other topics, check out the channel9 screencasts section (and filter as you wish by clicking on the tags on the left of that page e.g. Vista-only or Windows Mobile etc).

    Have fun!Cool
  • Seems I'm following you.  I use to read your mobile stuff, now that I've moved back to web development, here you aer again doing gadgets (which I'm just learning).  What are we doing next? 

    Seriously, thanks for the video.  It was a big help.

    Peter Kellner, MVP ASP.NET

  • pkellner wrote:
    

    Seems I'm following you.  I use to read your mobile stuff, now that I've moved back to web development, here you aer again doing gadgets (which I'm just learning).  What are we doing next? 

    Seriously, thanks for the video.  It was a big help.

    Peter Kellner, MVP ASP.NET



    LOL.. Thanks Peter!

    Well, "we" are always doing mobile, that never goes away. And Vista stuff will stay with us as well.... Next we are doing all things "Orcas" so get ready for the ride Cool
  • Thank you for this quick overview Smiley
  • Glad you enjoyed it Eike Smiley
  • For those experiencing difficulties with using a hyperlink for the flyout, please use a button instead:

    <button onclick="toggleFlyout();">Toggle Flyout</button>

  • This is awsome!!  Time to get creative Smiley
  • Thanks! BTW, some more resources you can check out are here:
    http://www.danielmoth.com/Blog/2007/02/windows-vista-sidebar-gadget-articles.html
  • I've tried a couple of "Hello, world" gadget examples, including one straight from Microsoft.  I even cut and pasted the code.   But this is the result I get.  Notice how the gadget is cut off (even though body size is set to 130x50, again-- I cut and pasted the code):

    Gadget problem

    Any suggestions? Thanks! Bryan
  • bcgreen wrote:
    Any suggestions? Thanks! Bryan


    My suggestion is that you post full details asking for help at the free online support forums Wink

    http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=1063&SiteID=1

    Good luck!
  • Hi Daniel,
    I viewed your blog and video about 'Introducing Windows Vista Sidebar and developing a gadget'. I really appreciate your work.
     
    I want to know whether I can use gadgets in my application(using VC++)? I mean, can i display the gadgets installed in System into my dialog window in the same way they are displayed in sidebar. If yes, how?
     
    I will be really thankful for any help of yours.
  • Hi guptsan90. Not out of the box, unless you want to replicate the sidebar host functionality in your C++ application.
  • Thanks Daniel for your quick reply.

    I have two questions: 
    1) Is there any documentation digging into the sidebar host functionality ?
    2) Is it not possible for any container other than sidebar to host gadgets now? If no, will it be possible in future?

    Thanks in advance.

  • Guptasan, I thought I answered both those questions in my previous reply and over email. In a nutshell, "No" and "Not that I know of". Please do use the dedicated Sidebar forums for generic questions. Hope you get it working Smiley
  • Thanks for the turorial, it was helpful.
    I am however confused by the difference/discrepancy between your manifest tags and those contained in the Microsoft TechNet tutorial:

    http://www.microsoft.com/technet/scriptcenter/topics/vista/gadgets-pt1.mspx

    The Microsoft Technet tutorial uses a different set of tags for specifying the html code. Here is a snippet from the Technet article:

        <gadget>
          ...
          <sidebar>
            <type>html</type>
            <permissions>full</permissions>
            <code>test.htm</code>
            <website>www.microsoft.com/technet/scriptcenter</website>
         </sidebar>
        </gadget>

    This is instead of the:
    <hosts>
       <host>
          <base>
             ....

    Was there/are there two competing sets of manifest tags?

  • pcarew, sorry I don't know (my instant reaction is "use what works"). Please do post to the dedicated Sidebar forums.
  • WidgetsGuyWidgetsGuy Widgets and Gadgets Guru
    I saw your name on the Creating Vista Gadget book, Did you co-authored that book ?
  • WidgetsGuy, there are many books on gadgets, and no I have not participated in authroing any of them. I have only co-authored the Mobile Development Handbook.

     

    Cheers

    Daniel

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.