I need to be able to print an html document from my VB.Net app.
I tried using this:
The page shows up in the browser control, but it lacks some formatting elements (via CSS) and doesn't appear to even attempt to print.
Am I missing something? Is there a better way to print the document?
I tried using this:
Code:
WebBrowser1.Navigate("c:\windows\temp\MSWOBReport.html")
WebBrowser1.Print()
The page shows up in the browser control, but it lacks some formatting elements (via CSS) and doesn't appear to even attempt to print.
Am I missing something? Is there a better way to print the document?