Results 1 to 2 of 2

Thread: Sending HTML to a browser ?? Help !

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    Is it possible to dynamically create an HTML document in a string type and then pass it to a web browser control?

    I can't see a way of doing it without saving the string as a file then pointing the webbrowser control to the file !!!

    For example, if you have a text editor in which you are writing HTML code and you want to view it in a web browser which is sitting on a different tab (like frontpage) how can you send the HTML source to the browser?? I can only see how to pass it a URL or file...

  2. #2
    Hyperactive Member Juan Carlos Rey's Avatar
    Join Date
    Aug 1999
    Location
    Mendoza, Argentina
    Posts
    301
    You are very lucky, 'cause I was here!

    Go to VB-clone (or should I say twin?) site at:

    http://www.vbsquare.com/tips/tip379.html

    Where it says "about:blank" you can have instead your own page already created, in order to have your own background.

    What you insert, is all that lies between your <body> and </body> tags.

    HTH and Good Luck!

    [Edited by Juan Carlos Rey on 03-25-2000 at 07:54 PM]

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