Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. convert vb.net application to C#

convert vb.net application to C#

Scheduled Pinned Locked Moved ASP.NET
csharphelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    max_dev2006 yahoo com
    wrote on last edited by
    #1

    hello, while converting a vb.net application to c#, one pagechangedeventhandler event in vb.net application gives error in C# . Also overridden finally method also gives error in C# and suggest to provide destructor. But also not allow to declare destructor in an abstract class. I have converted vb code to C# . but not able to run the application due to above errors. plz help regards, max

    P D 2 Replies Last reply
    0
    • M max_dev2006 yahoo com

      hello, while converting a vb.net application to c#, one pagechangedeventhandler event in vb.net application gives error in C# . Also overridden finally method also gives error in C# and suggest to provide destructor. But also not allow to declare destructor in an abstract class. I have converted vb code to C# . but not able to run the application due to above errors. plz help regards, max

      P Offline
      P Offline
      perlmunger
      wrote on last edited by
      #2

      One thing you can try is to take the compiled assemblies of your application writtne in VB and then use .NET Reflector[^] to have it decompile and export the IL code in C#. Then you can compare what the decompiler did in the same section of code where yours is failing. -Matt

      ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall

      1 Reply Last reply
      0
      • M max_dev2006 yahoo com

        hello, while converting a vb.net application to c#, one pagechangedeventhandler event in vb.net application gives error in C# . Also overridden finally method also gives error in C# and suggest to provide destructor. But also not allow to declare destructor in an abstract class. I have converted vb code to C# . but not able to run the application due to above errors. plz help regards, max

        D Offline
        D Offline
        Dave Doknjas
        wrote on last edited by
        #3

        Can you post the original VB code that you feel isn't being converted correctly? I'll convert it for you.

        David Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: C# to C++ converter, VB to C++ converter Instant Python: VB to Python converter

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups