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. The Lounge
  3. VB to C# Converter

VB to C# Converter

Scheduled Pinned Locked Moved The Lounge
csharpcomdesignfunctionalannouncement
15 Posts 11 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 Marc Clifton

    Just tried the free version[^] on a small VB project. The tool ROCKS! Only a couple minor things needed to be cleaned up, and it also puts comments in for where it made important decisions. Simple user interface, it generates a complete folder with solution files and project files (as in, it doesn't just convert VBarf, it actually rebuilds the entire solution for you with C# code.) Recommended. :) Marc

    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

    J Offline
    J Offline
    JimmyRopes
    wrote on last edited by
    #6

    I sincerely hope I will never have to look at a VB program, ever. X|

    Once you lose your pride the rest is easy. In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha

    M 1 Reply Last reply
    0
    • J JimmyRopes

      I sincerely hope I will never have to look at a VB program, ever. X|

      Once you lose your pride the rest is easy. In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha

      M Offline
      M Offline
      Marc Clifton
      wrote on last edited by
      #7

      JimmyRopes wrote:

      I sincerely hope I will never have to look at a VB program, ever.

      The scary thing is, the VB code wasn't compiled with the Strict option (one reason why VB sucks.) I enabled it on a small project and there were probably 100 errors. I also discovered the machinations the previous programmer went through to implement "static" objects. OMG. What a disaster. Marc

      Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

      J 1 Reply Last reply
      0
      • M Marc Clifton

        JimmyRopes wrote:

        I sincerely hope I will never have to look at a VB program, ever.

        The scary thing is, the VB code wasn't compiled with the Strict option (one reason why VB sucks.) I enabled it on a small project and there were probably 100 errors. I also discovered the machinations the previous programmer went through to implement "static" objects. OMG. What a disaster. Marc

        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

        J Offline
        J Offline
        JimmyRopes
        wrote on last edited by
        #8

        I feel for you. Sixteen years ago I took a contract where they used VB6. I couldn't believe how bad some VB programmers coded. Fortunately, I haven't looked at a VB program since 2002 when the contract ended, and hopefully never will ever again.

        Once you lose your pride the rest is easy. In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha

        1 Reply Last reply
        0
        • Sander RosselS Sander Rossel

          And miss out on a perfect opportunity to write some good 'ol VB!? NEVER! :-D [Edit] I read that the other way around. The VB has already been written... I guess someone already took that perfect opportunity :D [/Edit]

          Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

          Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

          Regards, Sander

          K Offline
          K Offline
          Kevin Marois
          wrote on last edited by
          #9

          Sander Rossel wrote:

          And miss out on a perfect opportunity to write some good 'ol VB charge a client a small fortune to convert it to C#!? NEVER!

          FTFY

          If it's not broken, fix it until it is

          1 Reply Last reply
          0
          • M Marc Clifton

            Just tried the free version[^] on a small VB project. The tool ROCKS! Only a couple minor things needed to be cleaned up, and it also puts comments in for where it made important decisions. Simple user interface, it generates a complete folder with solution files and project files (as in, it doesn't just convert VBarf, it actually rebuilds the entire solution for you with C# code.) Recommended. :) Marc

            Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

            R Offline
            R Offline
            RossMW
            wrote on last edited by
            #10

            Must try it out Monday. The once I've used in the pass have been more problematic then beneficial Thanks

            1 Reply Last reply
            0
            • M Marc Clifton

              Just tried the free version[^] on a small VB project. The tool ROCKS! Only a couple minor things needed to be cleaned up, and it also puts comments in for where it made important decisions. Simple user interface, it generates a complete folder with solution files and project files (as in, it doesn't just convert VBarf, it actually rebuilds the entire solution for you with C# code.) Recommended. :) Marc

              Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

              G Offline
              G Offline
              Garth J Lancaster
              wrote on last edited by
              #11

              I've used one of their trial products to see what some legacy java code would look like when converted to c# - it took a bit more 'hand polishing' of the result, but I learned a whole lot about java reflection thence c# reflection on the 'journey' Their product gets a thumbs up from me - with the caveat, crap (any language in) => crap (any language out)

              1 Reply Last reply
              0
              • M Marc Clifton

                Just tried the free version[^] on a small VB project. The tool ROCKS! Only a couple minor things needed to be cleaned up, and it also puts comments in for where it made important decisions. Simple user interface, it generates a complete folder with solution files and project files (as in, it doesn't just convert VBarf, it actually rebuilds the entire solution for you with C# code.) Recommended. :) Marc

                Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                E Offline
                E Offline
                Espen Harlinn
                wrote on last edited by
                #12

                Have a look at ILSpy[^] It does dll to c# well enough, so you don't even need the vb code ...

                Espen Harlinn Chief Architect - Powel AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra

                1 Reply Last reply
                0
                • M Marc Clifton

                  Just tried the free version[^] on a small VB project. The tool ROCKS! Only a couple minor things needed to be cleaned up, and it also puts comments in for where it made important decisions. Simple user interface, it generates a complete folder with solution files and project files (as in, it doesn't just convert VBarf, it actually rebuilds the entire solution for you with C# code.) Recommended. :) Marc

                  Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                  D Offline
                  D Offline
                  Dan Neely
                  wrote on last edited by
                  #13

                  VB6 or VB.net?

                  Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                  M 1 Reply Last reply
                  0
                  • D Dan Neely

                    VB6 or VB.net?

                    Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                    M Offline
                    M Offline
                    Marc Clifton
                    wrote on last edited by
                    #14

                    Dan Neely wrote:

                    VB6 or VB.net?

                    I would assume vb.net since it converts to C#. That's what I tried. Marc

                    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                    D 1 Reply Last reply
                    0
                    • M Marc Clifton

                      Dan Neely wrote:

                      VB6 or VB.net?

                      I would assume vb.net since it converts to C#. That's what I tried. Marc

                      Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                      D Offline
                      D Offline
                      Dan Neely
                      wrote on last edited by
                      #15

                      If that's all it does, MEH. Lots of tools that can do that reasonably well already.

                      Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                      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