|
-
Mar 24th, 2000, 09:26 PM
#1
Thread Starter
Fanatic Member
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...
-
Mar 25th, 2000, 07:52 AM
#2
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|