Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

C# to VB.Net

Options
  • 26-03-2008 2:59pm
    #1
    Registered Users Posts: 7,468 ✭✭✭


    Can anybody convert
    void IHttpModule.Init(HttpApplication context)
    {
        context.PreRequestHandlerExecute += new EventHandler(context_PreRequestHandlerExecute);
    }
    

    to Vb.Net for me? thanks.


Comments

  • Closed Accounts Posts: 317 ✭✭tiptap


    Evil Phil wrote: »
    Can anybody convert
    void IHttpModule.Init(HttpApplication context)
    {
        context.PreRequestHandlerExecute += new EventHandler(context_PreRequestHandlerExecute);
    }
    

    to Vb.Net for me? thanks.



    Private Sub Init(ByVal context As HttpApplication) Implements IHttpModule.Init
    AddHandler context.PreRequestHandlerExecute, AddressOf context_PreRequestHandlerExecute
    End Sub


    http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx


  • Moderators, Science, Health & Environment Moderators Posts: 10,079 Mod ✭✭✭✭marco_polo


    Do you promise this isn't homework Evil_Phil? ;)


  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    Thank you tiptap.


Advertisement