Skip to Content
author's profile photo Former Member
Former Member

Embed Excel in web browser activex

Hi

Im embedding excel in web browser activex. This web browser im using in sdk form. I load a xls to the web browser. it is working fine. when i resize the sdk form, the form is resized and the web browser is also resized. what happens is the excel stops displaying. When i click on the web brwser activex, the xls is again displayed.

Can anyone help in resolving this. i want the xls sheet to be displayed even after resizing.

Thanks

Amudha

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 26, 2010 at 05:26 PM

    Hi amudha

    Dim oWebX As SHDocVw.WebBrowser

    oItem = balanceform.Items.Add("browser", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)

    oItem.Left = 5

    oItem.Top = 55

    oItem.Width = 980

    oItem.Height = 495

    ' Create the new activeX control

    AcXTree = oItem.Specific

    AcXTree.ClassID = "Shell.Explorer.2"

    oWebX = AcXTree.Object

    oWebX.Navigate("about:blank")

    oWebX = Nothing

    GC.Collect()

    I Hope this help

    if not paste code to understand better

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Amudha, hello!

      Did you solve this problem? I have the same problem, but use not browser object. I use Edraw Office Viewer Component.

      Thanks in advance,

      Alexander.

      Edited by: Alexander Lositskiy on Sep 10, 2010 4:56 PM

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.