Results 1 to 6 of 6

Thread: [RESOLVED] URGENT [2005] Help Converting this to VB.NET

  1. #1

    Thread Starter
    Hyperactive Member Coool's Avatar
    Join Date
    Feb 2006
    Location
    System.Coool
    Posts
    333

    Resolved [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

  2. #2

    Thread Starter
    Hyperactive Member Coool's Avatar
    Join Date
    Feb 2006
    Location
    System.Coool
    Posts
    333

    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

  3. #3

    Thread Starter
    Hyperactive Member Coool's Avatar
    Join Date
    Feb 2006
    Location
    System.Coool
    Posts
    333

    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

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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.

  5. #5
    Fanatic Member
    Join Date
    Jan 2006
    Posts
    710

    Re: [RESOLVED] URGENT [2005] Help Converting this to VB.NET

    Quote Originally Posted by mendhak
    You can use
    http://www.developerfusion.co.uk/uti...sharptovb.aspx

    for most of your general conversion needs.
    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 ...
    David Anton
    Convert between VB, C#, C++, & Java
    www.tangiblesoftwaresolutions.com

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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
  •  



Click Here to Expand Forum to Full Width