Is there a way I can set a WebBrowser.DocumentText to a file without reading the file, setting its contents to a string variable then setting WebBrowser.DocumentText to that string variable? I wouldn’t mind writing the code so much, it just seems like something that should be possible without it.
Share
Do you mean “not reading the file yourself”? Although these samples include “reading the file yourself”, they are pretty simple:
or