For override events from webbrowser/mailbrowser must be this component inserted to form - I'm not lucky with this...
VS2022, VB forms project .NET 6.0, x64
Now - only way which I found - adding control in Load event of main form:
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
'add mail browser object
Me.Controls.Add(_mailBrowser)
AddHandler _mailBrowser.DocumentCompleted, AddressOf abc
End sub
Sub abc(sender As Object, e As WebBrowserDocumentCompletedEventArgs)
End Sub
But this generate error "DocumentCompleted is not event in Object" in design time. How can I add this control from toolbar? Respectively, haw add control to toolbar<
If I try open your example Samples_VB from downloaded package - EmailViewer, trying open form in designer cause error - Type Limilabs.Windows.MailBrowserControl not found...
Any idea? Thanks.
Pavel