CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 1999
    Posts
    112

    Urgent ! About Webbrowser !



    Hi,


    I want to use Webbrowser Control to display a HTML format string generated in my program. I don't want to save it in file then re-read it by Webbrowser Navigate2 method. Is there anyway I can send the string to Webbrowser directly?


    Thanks a million!!!


    Dodo

  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: Urgent ! About Webbrowser !





    Hi,


    I have not tried this myself. I can give you an idea.


    Get a pointer to the Document of the WebBrowser and then write to this Document.

    set tmpDocptr = WebBrowser1.Document

    It supports standard HTML. It is like creating a ActiveX Document.


    I read this somewhere on MS's MSDN site. Check in Books-Online/Partial-Books sections


    Ravi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured