VB.Net 2008 studio error
Posted: Thu Dec 16, 2010 7:42 am
Hi,
I imported SmppClientDemo to VB.Net 2008 studio,
but i see 5 error all about :
Handles clause requires a WithEvents variable defined in the containing type or one of its base types. D:\smpp\Inetlab.SMPP\Demo\VB.NET\SmppClientDemo\SmppClientDemo.vb
this code that generate the first error :
Private Sub bAbout_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles bAbout.Click
Dim frm As New AboutSmppClientDemo()
frm.ShowDialog()
End Sub
How to fix it ?
(sorry I am not so professional in VB.Net)
Thanks
I imported SmppClientDemo to VB.Net 2008 studio,
but i see 5 error all about :
Handles clause requires a WithEvents variable defined in the containing type or one of its base types. D:\smpp\Inetlab.SMPP\Demo\VB.NET\SmppClientDemo\SmppClientDemo.vb
this code that generate the first error :
Private Sub bAbout_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles bAbout.Click
Dim frm As New AboutSmppClientDemo()
frm.ShowDialog()
End Sub
How to fix it ?
(sorry I am not so professional in VB.Net)
Thanks