Page 1 of 1

VB.Net 2008 studio error

Posted: Thu Dec 16, 2010 7:42 am
by user467
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

Re: VB.Net 2008 studio error

Posted: Sun Dec 19, 2010 5:36 pm
by alt
Sorry, I cannot reproduce this error.
Please try to download last version.

Re: VB.Net 2008 studio error

Posted: Mon Dec 20, 2010 4:31 pm
by user467
Hi,
Thanks ,
No error now.
But still some Implicit conversion warning , i fixed it using CStr() & CInt() function.

It working fine now.

Re: VB.Net 2008 studio error

Posted: Mon Dec 20, 2010 6:51 pm
by alt
VB.NET code is generated from C# code, so it can contain warnings