Private Function StartPrint(ByVal htmlstring As String) As Integer Try Dim objbrowser As New WebBrowser objbrowser.DocumentText = htmlstring objbrowser.Print() objbrowser.Dispose() Return 0 Catch ex As Exception Return -1 End Try End Function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)