|
-
Nov 12th, 2003, 11:24 AM
#1
Thread Starter
Lively Member
Displaying HTML in VB
If I received a HTML format string??...how can I display the formated results in VB???
-
Nov 12th, 2003, 11:45 AM
#2
Retired VBF Adm1nistrator
Save it to a temporary file and point the WebBrowser control at it.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Nov 12th, 2003, 12:16 PM
#3
Thread Starter
Lively Member
How do I do that
I never use the web browser control, how do you point the web browser to a temp file.
-
Nov 18th, 2003, 09:40 AM
#4
Fanatic Member
Is there some way of doing this without saving it to a temporary file?
-
Nov 18th, 2003, 01:55 PM
#5
Fanatic Member
this has been answered hundreds of times before
anyway
with webbrowser1.document
.open
.write MY_HTML_STRING
.close
end with
-
Nov 18th, 2003, 03:25 PM
#6
Fanatic Member
Originally posted by alexandros
this has been answered hundreds of times before
anyway
with webbrowser1.document
.open
.write MY_HTML_STRING
.close
end with
To use that code you first have to navigate to a blank page:
WebBrowser1.Navigate "about:blank"
Alexandros, why do you use the open and close methods?? Never seen em before... what do they do? Without them you get the same results...
Author for Visual Basic Web Magazine
-
Nov 18th, 2003, 03:48 PM
#7
Fanatic Member
I searched the forum and reviewed numerous pages and did not find the answer.
Thanks TheVader, I will give this a try tomorrow.
-
Nov 18th, 2003, 03:56 PM
#8
Fanatic Member
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
|