ActiveX - Webbrowser Control VB6

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ThisIsAMess

    #1

    ActiveX - Webbrowser Control VB6

    All!
    I posted a query a while ago as to how one can 'draw' lines on the
    webbrowser control (as on an 'imported' chart). I'm re-asking that
    query, plus another. The new one is - How can one Center a portion of,
    say, an imported chart/document within the webbrowser control?
    Otherwords, the bottom-right portion of the chart/document is what I
    want to be centered when I import the chart/document.
    Thanks...

  • mayayana

    #2
    Re: ActiveX - Webbrowser Control VB6

    A WB is IE. If you want to affect
    the current document you can use the
    IE DOM through the WB.Document.
    To get the DOM in Intellisense
    reference MSHTML.TLB.

    I don't know about drawing lines. Maybe
    by writing ________ or using a picture?
    With your chart you could probably put it
    into a table and use the ALIGN property
    to move it. A lot can be done by
    creating textRange objects and using
    pasteHMTL, move, etc. to change the HTML
    of the document.
    _______________ ______________

    mayayXXana1a@mi ndYYspring.com
    For return email remove XX and YY.
    _______________ ______________
    ThisIsAMess <rmh134@juno.co m> wrote in message
    news:1111159368 .051778.73980@g 14g2000cwa.goog legroups.com...[color=blue]
    > All!
    > I posted a query a while ago as to how one can 'draw' lines on the
    > webbrowser control (as on an 'imported' chart). I'm re-asking that
    > query, plus another. The new one is - How can one Center a portion of,
    > say, an imported chart/document within the webbrowser control?
    > Otherwords, the bottom-right portion of the chart/document is what I
    > want to be centered when I import the chart/document.
    > Thanks...
    >[/color]


    Comment

    Working...