Don't know if it's the best way but I came across this messing around:
You'll need to load the Microsoft HTML Object library in your VB project. Then:
dim htmlFile as HTMLDocument
set htmlFile = new HTMLDocument
htmlFile.url = "<file path and name>"
This opened the file in an IE window. I'm only just starting to look into HTML so I really don't know if this is the best way (or the correct way) - you may notice that I have my own similar question in this forum!
- just thought it may help
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.