Build a independent browser with a empty resource, if you want to create a single executable file, you just modify the template EXE's resource with the desired document.
Build a empty project... in its code, you add some code to read from resource, and display the read text to a text box. build it.(template exe)
create a nother project. in that project, you add some code to replace the existent resource(in the template exe file) with desired text, and copy the object pe file to specific path, it is seems your application create a exe file.
If you need code, I just know a vb's example. You can get it in www.vbforums.com, several years ago, I asked the same question.
Although it is hard to find. my ID in www.vbforums.com is Lex Chow.