Skip to Content
Have you ever dreamed of showing rich content on your widget ?   Ever thought how powerful a widget will become once it’s possible to display rich content like Macromedia Flash (swf), Acrobat Reader documents(PDF), Media files (Windows media, Real Media and Quicktime) and more on your widget to create an extremely rich UI.   Recently, while browsing through the Yahoo Widgets Forum, I came across a post which touted a COM component capable of doing all this ! And surely I was impressed.   I went on to visit their website and downloaded the component and went to to write a piece of code to display a Java Applet chart. The result was very interesting !   The following piece of code was used in the onLoad trigger of the widget : var WebBrowser = COM.createObject( “CentralTopic.IEwidget” ); WebBrowser.Init( true ); WebBrowser.ShowInTaskbar = false; WebBrowser.Size( 500, 320 ); WebBrowser.hOffset = 30;  WebBrowser.vOffset = 10;  WebBrowser.Url = “http://inld50047051a/abesh/quality.irpt”; WebBrowser.BlackRectangle = true; WebBrowser.TopMost = true; Now instead of an Image we have a Java Applet that is displayed in the Widget (the quality.irpt file has a xMII SPC Chart Applet embedded within it) which allows us an unprecedented amount of interactivity.  The simple WebBrowser4Widgets window : image Now interactivity examples : Display Alarms… imageimage Display Comments : image  The API for WebBrowser4Widgets SDK can be found hereHowever there is Caveat to using this COM Extension for Yahoo Widget ! It is NOT FREE! The Evaluation version has a 10 minute timeout period. And their registration policy is such that the registration cost varies everyday ! However when it was first released, it was released as a free version.
To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Daniel McWeeney
    I always wanted to make a widget that used its own internal animation to deal with the local UI, but present rich Flash Animations as the content.  Now I can do this, thanks for the info.

    -d

    (0) 
  2. Anonymous
    They must probably be hosting a IE Browser control on their own control. We can probably write a free and open source version of the same. Flash on Yahoo widgets… it does sound promising. 🙂
    (0) 
    1. Abesh Bhattacharjee Post author
      You are absolutely bang on ! I think they’ve created a wrapper on the IE Object ! I do not have enough programming knowledge to do the same and create a COM Object ! Anyone from the Community ?
      (0) 
      1. Tadeusz Hupalo
        Hello,

        I’m founder and owner of CentralTopic.com and also the author of WebBrowser4Widgets COM library.
        Thank you for developing my product.

        As former SAP employee (9years @ SAP Poland – last position SAP NetWeaver Product Manager – i005870 )  i see some opportunities to offer WebBrowser4Widgets as part of SAP Widgets Fundation and open the source (and the idea) of this product.

        If SAP will decide to sponsor this development – is ready to use right now.
        The hottest news from my lab:
        WebBrowser4Widgets CAN call SAP BAPI and Function Modules and produces HTML output (+ CSS +XSLT +Ajax +DOM Navigation +Widget binding, and more ) directly, (without VBS of course).
        Some samples will be ready within a week.

        In the meantime I can offer free licensing WebBrowser4Widgets for SAP Widget Team.

        If this sounds interesting for you or the SAP Widget Team – please contact me.

        Best regards,
        Tadeusz Hupalo
        Central Topic
        email: tadeusz.hupalo@CentralTopic.com

        (0) 

Leave a Reply