C
Cor
Hi Option Strict gurus,
Because of the so much given advises here to use Option Strict I did try to
use that.
But it gives an error and I don't know how to resolve that.
The message is that Option Strict disallowes late binding. So how to do it
then?
The statement is from an example somewhere on MSDN
(And don't ask why I use the Ax version from SHDOC, that is just because it
has more methods)
\\\\\\\\\\\\\
Private Sub AxWebBrowser1_DocumentComplete(ByVal sender As System.Object,
ByVal e As AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent) Handles
AxWebBrowser1.DocumentComplete
eDocuments.Add(e.pDisp.Document)
End Sub
/////////////
Cor
Because of the so much given advises here to use Option Strict I did try to
use that.
But it gives an error and I don't know how to resolve that.
The message is that Option Strict disallowes late binding. So how to do it
then?
The statement is from an example somewhere on MSDN
(And don't ask why I use the Ax version from SHDOC, that is just because it
has more methods)
\\\\\\\\\\\\\
Private Sub AxWebBrowser1_DocumentComplete(ByVal sender As System.Object,
ByVal e As AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent) Handles
AxWebBrowser1.DocumentComplete
eDocuments.Add(e.pDisp.Document)
End Sub
/////////////
Cor