Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27374

VS 2010 Reading HTML to memory stream and then Webbrowser

$
0
0
Could anyone help me with this?

I have a project in which I want to be able to read a number of short HTML files into memory at program start, then display them in a WebBrowser control as appropriate. I can easily read a file to the WebBrowser, and it displays perfectly, e.g.:

WebBrowser1.Navigate("file:///" & IO.Path.GetFullPath("c:\users\temp\test.htm"))

What I want to do if possible is to stream the files to memory streams and load the appropriate one into the WebBrowser at a later time.

I am fairly new to this, and do not have enough knowledge of IO, streaming and coding.

Any help would be fantastic!

Many thanks

Steve

Viewing all articles
Browse latest Browse all 27374

Trending Articles