There has to be missing pieces to this code... first i am assuming that you are using a form since these are in there...
Code:
Public Browser As System.Windows.Forms.WebBrowser
Private WithEvents TMR1 As New System.Windows.Forms.Timer()
Private WithEvents TMR2 As New System.Windows.Forms.Timer()
MsgBox("Online!", MsgBoxStyle.Exclamation, "Online!")
so i made a simple form to help you debug.
This line is invalid and won't compile...
Code:
Private Sub MainForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load
A.Interval = 6000
A.Browser = WebBrowser 'I have to comment this out to get it to compile
A.Link = "http://example.com/"
A.Word = "Nikname"
End Sub
after that nothing breaks... it doesn't really do anything, but it doesn't break either. can you send me all the code or post all the code here?