|
-
Apr 8th, 2007, 11:42 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] URGENT [2005] Help Converting this to VB.NET
The Bold text need to be converted in Vb.bet
Code:
Public Overridable Sub Init(ByVal app As System.Web.HttpApplication) Implements System.Web.IHttpModule.Init
app.BeginRequest
app += New EventHandler(AddressOf Me.BaseModuleRewriter_AuthorizeRequest)
End Sub
Protected Overridable Sub BaseModuleRewriter_AuthorizeRequest(ByVal sender As Object, ByVal e As EventArgs)
Dim app As HttpApplication = CType(sender, HttpApplication)
Rewrite(app.Request.Path, app)
End Sub
I am using .NET 2010 with Windows 7
-
Apr 9th, 2007, 05:13 AM
#2
Thread Starter
Hyperactive Member
Re: URGENT [2005] Help Converting this to VB.NET
Plz man i need it urgent and my knowledge 0f event is very poor.
I am using .NET 2010 with Windows 7
-
Apr 9th, 2007, 06:52 AM
#3
Thread Starter
Hyperactive Member
Re: URGENT [2005] Help Converting this to VB.NET
Ok I replaced it with this one. Hope it should work.
AddHandler app.AuthorizeRequest, AddressOf Me.BaseModuleRewriter_AuthorizeRequest
I am using .NET 2010 with Windows 7
-
Apr 10th, 2007, 04:20 PM
#4
Re: [RESOLVED] URGENT [2005] Help Converting this to VB.NET
You can use
http://www.developerfusion.co.uk/uti...sharptovb.aspx
for most of your general conversion needs.
-
Apr 10th, 2007, 11:14 PM
#5
Re: [RESOLVED] URGENT [2005] Help Converting this to VB.NET
 Originally Posted by mendhak
Except for event handler wireups (such as this one - it isn't converted by developerfusion), and except for generics, and except for asp.net in-line code, and except for anonymous methods, and except for ...
-
Apr 11th, 2007, 09:20 AM
#6
Re: [RESOLVED] URGENT [2005] Help Converting this to VB.NET
everything.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|