luanahubbart
Programmer
I am trying to print an HTML page from VB6. I have tried various methods I have seen here on Tek Tips. when I try to use Navigate it gets a 'runtime 91 error' with clause or object variable not set. Highlights .navigate
I have tried
Dim strhtml As String
Dim wb1 As WebBrowser
wb1.Navigate App.Path & "\myfile.html"
and
With wb1
.Navigate App.Path & "\Blank Incident Report.html"
While .StillExecuting = True
strhtml = .GetChunk(1024)
MsgBox " " & strhtml
Wend
End With
What to do? Thanks for your help!
I have tried
Dim strhtml As String
Dim wb1 As WebBrowser
wb1.Navigate App.Path & "\myfile.html"
and
With wb1
.Navigate App.Path & "\Blank Incident Report.html"
While .StillExecuting = True
strhtml = .GetChunk(1024)
MsgBox " " & strhtml
Wend
End With
What to do? Thanks for your help!