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. Converting vb.net to c#

Converting vb.net to c#

Scheduled Pinned Locked Moved The Lounge
csharpquestionvisual-studiocom
33 Posts 22 Posters 22 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.
  • C Offline
    C Offline
    Christopher Duncan
    wrote on last edited by
    #1

    I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

    Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

    P J H R C 15 Replies Last reply
    0
    • C Christopher Duncan

      I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

      Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      *cough* MoXAML PowerToys[^] *cough*. I'm just saying, that's all.

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

      My blog | My articles | MoXAML PowerToys | Onyx

      C 1 Reply Last reply
      0
      • P Pete OHanlon

        *cough* MoXAML PowerToys[^] *cough*. I'm just saying, that's all.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        C Offline
        C Offline
        Christopher Duncan
        wrote on last edited by
        #3

        MoXAML Power Toys is a Visual Studio AddIn that’s designed to make your coding that bit more productive for WPF/Silverlight applications. Looks cool, but this isn't WPF / Silverlight, just your regular, garden variety ASP.NET web site. And I don't code in Visual Studio. I use professional editors for that. :-D

        Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

        P W 2 Replies Last reply
        0
        • C Christopher Duncan

          MoXAML Power Toys is a Visual Studio AddIn that’s designed to make your coding that bit more productive for WPF/Silverlight applications. Looks cool, but this isn't WPF / Silverlight, just your regular, garden variety ASP.NET web site. And I don't code in Visual Studio. I use professional editors for that. :-D

          Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          The addin includes a utility for converting from C# to VB.NET and VB.NET to C#.

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          C 1 Reply Last reply
          0
          • P Pete OHanlon

            The addin includes a utility for converting from C# to VB.NET and VB.NET to C#.

            "WPF has many lovers. It's a veritable porn star!" - Josh Smith

            As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

            My blog | My articles | MoXAML PowerToys | Onyx

            C Offline
            C Offline
            Christopher Duncan
            wrote on last edited by
            #5

            :doh: Missed that. Do you have to go through one file at a time? It would be great if I could point it to a directory or list & say, "Go, Spot!"

            Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

            P 1 Reply Last reply
            0
            • C Christopher Duncan

              :doh: Missed that. Do you have to go through one file at a time? It would be great if I could point it to a directory or list & say, "Go, Spot!"

              Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              It's one file at a time at the moment - in future, I'm considering a full conversion, but there's a lot more to this which is why I left it alone for this release.

              "WPF has many lovers. It's a veritable porn star!" - Josh Smith

              As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

              My blog | My articles | MoXAML PowerToys | Onyx

              1 Reply Last reply
              0
              • C Christopher Duncan

                MoXAML Power Toys is a Visual Studio AddIn that’s designed to make your coding that bit more productive for WPF/Silverlight applications. Looks cool, but this isn't WPF / Silverlight, just your regular, garden variety ASP.NET web site. And I don't code in Visual Studio. I use professional editors for that. :-D

                Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                W Offline
                W Offline
                wout de zeeuw
                wrote on last edited by
                #7

                Christopher Duncan wrote:

                I use professional editors for that. Big Grin

                ed?

                Wout

                C 1 Reply Last reply
                0
                • C Christopher Duncan

                  I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

                  Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                  J Offline
                  J Offline
                  Judah Gabriel Himango
                  wrote on last edited by
                  #8

                  Reflector[^]? With the FileDisassembler[^] add in, you can point it to an assembly or a type and output in whatever language you like.

                  Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                  C 1 Reply Last reply
                  0
                  • W wout de zeeuw

                    Christopher Duncan wrote:

                    I use professional editors for that. Big Grin

                    ed?

                    Wout

                    C Offline
                    C Offline
                    Christopher Duncan
                    wrote on last edited by
                    #9

                    edlin :-D

                    Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                    1 Reply Last reply
                    0
                    • J Judah Gabriel Himango

                      Reflector[^]? With the FileDisassembler[^] add in, you can point it to an assembly or a type and output in whatever language you like.

                      Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                      C Offline
                      C Offline
                      Christopher Duncan
                      wrote on last edited by
                      #10

                      Thanks, Judah. That would probably be useful for binaries, but this is source code and I don't want to lose the names, comments, etc. but rather just convert the VB to C#.

                      Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                      1 Reply Last reply
                      0
                      • C Christopher Duncan

                        I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

                        Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                        H Offline
                        H Offline
                        Henry Minute
                        wrote on last edited by
                        #11

                        Sharp Develop can do this. Only one file at a time though and it sometimes makes small errors. Hey it's free though. :)

                        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                        C D 2 Replies Last reply
                        0
                        • H Henry Minute

                          Sharp Develop can do this. Only one file at a time though and it sometimes makes small errors. Hey it's free though. :)

                          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                          C Offline
                          C Offline
                          Christopher Duncan
                          wrote on last edited by
                          #12

                          Thanks, man. If I can't find a batch oriented critter I'll check it out.

                          Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                          L 1 Reply Last reply
                          0
                          • C Christopher Duncan

                            Thanks, man. If I can't find a batch oriented critter I'll check it out.

                            Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                            L Offline
                            L Offline
                            linuxjr
                            wrote on last edited by
                            #13

                            I haven't tried this one yet Batch Code Converter[^] but I have used the single file vb to c# converter Single File Code Converter[^] and it works pretty decently. I hope this helps some.

                            1 Reply Last reply
                            0
                            • C Christopher Duncan

                              I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

                              Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                              R Offline
                              R Offline
                              RCoate
                              wrote on last edited by
                              #14

                              I used developer fusion's online tool to convert a VB.Net website to c#. Free, but does not like "handles" clauses. http://www.developerfusion.com/tools/convert/vb-to-csharp/[^] Everything else seemed to be ok.

                              1 Reply Last reply
                              0
                              • C Christopher Duncan

                                I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

                                Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                                C Offline
                                C Offline
                                Chris Fulstow
                                wrote on last edited by
                                #15

                                I highly recommend Instant C#. It's not free but worth every penny, it's very accurate and we just used it to convert 10,000s of lines of VB.NET to C#. http://tangiblesoftwaresolutions.com/Product_Details/Instant_CSharp.html[^]

                                1 Reply Last reply
                                0
                                • C Christopher Duncan

                                  I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

                                  Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                                  S Offline
                                  S Offline
                                  Shog9 0
                                  wrote on last edited by
                                  #16

                                  SharpDevelop has a converter feature built in. Appears to just call this webservice for the actual conversion... so try before you download.

                                  D 1 Reply Last reply
                                  0
                                  • C Christopher Duncan

                                    I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

                                    Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                                    D Offline
                                    D Offline
                                    davidkhale
                                    wrote on last edited by
                                    #17

                                    I have had success with the CSharpener product, but I don't think it was free. Plus you must fix numerous syntax errors after the conversion process.

                                    1 Reply Last reply
                                    0
                                    • C Christopher Duncan

                                      I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

                                      Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #18

                                      You can try the below online tools http://www.developerfusion.com/tools/convert/vb-to-csharp/[^] and http://www.carlosag.net/Tools/CodeTranslator/[^]

                                      Regards Aman Bhullar www.arlivesupport.com[^]

                                      1 Reply Last reply
                                      0
                                      • C Christopher Duncan

                                        I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

                                        Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                                        G Offline
                                        G Offline
                                        Guy Harwood
                                        wrote on last edited by
                                        #19

                                        http://converter.telerik.com has a bulk file converter tool too. i have used that extensively over the last few years on various projects and works well. just the indexers that you have to do manually, and the last time i used it it didnt like LINQ

                                        ---Guy H ;-)---

                                        C H 2 Replies Last reply
                                        0
                                        • C Christopher Duncan

                                          I don't think this is a programming question as I'm looking for a tool, but I'm donning the asbestos suit just to be on the safe side... :) I have a VS 2005 project that's written in vb.net, and I'd like to find a tool (preferably free) that I can point at it to convert the codebehind to c# simply because I'm more familiar with the syntax. Anyone have recommendations / experiences to share? Thanks!

                                          Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Copywriting Services

                                          S Offline
                                          S Offline
                                          Sinisa Hajnal
                                          wrote on last edited by
                                          #20

                                          Try with http://download.cnet.com/Convert-NET/3000-2096_4-10696573.html[^] It occasionaly hickups, but all in all it is dependable.

                                          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