This is C# code:
PHP Code:
Me.Load += New System.EventHandler(Me.Page_Load)
and won't work in VB.NET. The converter should have removed this being that it new to create the VB.NET version which is:
VB Code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Remove that Me.Load line and it should work(or at least compile). Oh, and the error i got when I checked to make sure I wasn't posting a lie was:
Code:
C:\Inetpub\wwwroot\WebForm1.aspx.vb(12):
'Public Event Load(sender As Object, e As System.EventArgs)' is an event, and cannot be called directly.
Use a 'RaiseEvent' statement to raise an event.
...and that was caused when I stuck this line in InializeComponent:
VB Code:
MyBase.Load += New System.EventHandler(AddressOf Page_Load)