Ask a questionAsk a question
 

Question.NET code in my gadgets...

All Replies

  • Thursday, December 04, 2008 4:55 AMToddOs Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    The only way to do so is to create ActiveX objects/controls in VB and then use those from your html and javascript gadget code.  It's not trivial, but there are tutorials you can find if you search (search for ".NET" and sidebar gadgets, as most of the tutorials will be in C# but the concepts will carry right over to VB.NET).
  • Tuesday, December 09, 2008 5:35 PMdrummerboy0511 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Alright, I've got some results.

    I downloaded the .NET Sidebar Gadget Creator from http://blogs.msdn.com/markhsch/archive/2007/08/09/net-sidebar-gadget-creator-2-0-release.aspx

    and Script# from http://projects.nikhilk.net/ScriptSharp/ .

    However, there aren't any tutorials for making the custom user control for .NET Sidebar Gadget Creator, and Script# doesn't tell you anything about it. How would I use these? I'm completely clueless!

    drummerboy0511
  • Wednesday, December 10, 2008 8:20 AMToddOs Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    For the .NET Sidebar Gadget Creator, you should read other posts that explain how to use it.  I've not tried it, but it sounds like you can use normal UserControl objects for UI.

    Script#, on the other hand, is essentially a C#-to-JavaScript + ASP.NET AJAX compiler, turning your C# code into script.  By itself it's not directly useful for a gadget, but with info on how to include the ASP.NET AJAX bits in your gadget it becomes more useful.  Not sure it's any better than just writing Javascript yourself, though.