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. Looking for a good C# to VB.NET converter

Looking for a good C# to VB.NET converter

Scheduled Pinned Locked Moved The Lounge
csharpquestion
69 Posts 18 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.
  • A Andy Brummer

    Well, I still think the VB community is going to slowly shrink/stay at current levels while C# is going to keep growing. Hopefully in a few years VB will be in the same place that COBOL is now.


    I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

    G Offline
    G Offline
    Graham Bradshaw
    wrote on last edited by
    #50

    andy brummer wrote: Hopefully in a few years VB will be in the same place that COBOL is now. And where is that, exactly? Have you ever used COBOL professionally (or at all)? Or are you just jumping on the "COBOL is old, so it must be useless" bandwagon?

    A 1 Reply Last reply
    0
    • J JWood

      Personally I work with graphics which is highly computationaly expensive. Moving to an obviously slower system is just plain stupid, despite the all the hype. I have even seen some people try to convince me that the very thing that C# is extremely bad at - namely large numbers of calculation in floating point. No dice. Make it compile properly into native code, and I will use it. That has always been MS's strength - fusing the hardware to the software, and making sure it worked and was accessible - I have no idea why they abandoned this idea. Targeting a specific operating system and hardware and promoting that system - while putting all your eggs in one basket - has served them well in the past. Until then, at least in my opinion, it is just another toy for the computer scientists and fanatics.


      Every nation ridicules other nations, and all are right. - Schopenhauer

      G Offline
      G Offline
      Giancarlo Aguilera
      wrote on last edited by
      #51

      "Personally I work with graphics which is highly computationaly expensive. Moving to an obviously slower system is just plain stupid, despite the all the hype. " with all due respect, i don't think you're understanding my point, nor i'm i trying to convince you to switch to .net, for i really could care less. furthermore, you don't realize how lucky you are, given the language you have the option to use. in all likelihood, you can continue doing all your fancy computational work, as is, and if need be, your language allows you to expose all of this to the managed world, like I said, if need be, simply by implementing the adapter pattern by creating a managed wrapper around your native code. "Make it compile properly into native code, and I will use it. That has always been MS's strength - fusing the hardware to the software, and making sure it worked and was accessible - I have no idea why they abandoned this idea. Targeting a specific operating system and hardware and promoting that system - while putting all your eggs in one basket - has served them well in the past. " None of that has changed, I think you need to read up on the JIT compiler. One of the advantages of the JIT compiler is that it will compile an assembly differently based on various factors, including hardware and software present on the machine at the time of compile. so assembly x on pc w98 with 128mb of ram will most likely not jit compile exactly as it would on pc xp with 1gb of ram in the end, all the power to you brother, if you don't have to program in the managed world using a managed language, good for you, but to say that the managed world is no good only because of performance, that's not good enough of a premise to the argument, for the premise can easily be negated by the fact that most applications are not graphically or computationally intensive, although for those that are, you're right, c++ is king.

      1 Reply Last reply
      0
      • J JWood

        Hey if you spend your life learning a system and then they try to yank the rug from underneath you, well you are likely to stomp on that rug and try to pull it back, if there is a good reason. I don't know if C#.Net is better, but considering the time it took me to get familiar with MSVC++, I very much doubt if I am going to give up without a struggle. If this is just corporate shenigans to make make money off of a new system then I am sure as sugar going to pull back. The executables are huge, the IDE is certainly no improvement, and the main argument for is that it standardizes typical functions into a platform independent, cross-language object is just not good enough for me personally to move all of my code into this new improved system. It is also slow as Hell with same idiotic problems that Java had. These are 3Ghz machines what more do they need? Slowwwww. Good God, what is happening under the hood here?

        G Offline
        G Offline
        Giancarlo Aguilera
        wrote on last edited by
        #52

        just to clear up a mistake in my prior response to you when I said: "being able to use multiple inheritance to implement temporary throw away bridges" actually what I meant is: "being able to use multiple inheritance to implement temporary throw away adapters" sorry for the mistake, i get my patterns mixed up once in a while

        1 Reply Last reply
        0
        • G Giancarlo Aguilera

          CG wrote: "ROTFL. Actually, I thought you generated my standard list of comments about VB.NET. Wasn't it you who pointed out that an empty string == Nothing in VB.NET, etc. ? I found out that functions invent their own return value on my own....." precisely, you needed someone else's premises for your argument. Never said it was perfect, but as long as patterns are implementable and you're getting good money doing it, why not? besides its only getting better in 2.0m with some exception, which I can list for you so that you can continue moaning and groaning. CG wrote: "You took C++ classes, but you've never coded in it ? How does THAT work ?" Never had to, nor was asked to VB 6 did it all, and where it didn't, pulled out the wallet and bought some awesome tools. Why fight it? CG wrote: "As I recall, last time I said that VB sucks, you took it incredibly personally. I've never said that all VB.NET programmers are idiots ( although the majority of VB.NET code I've seen was plainly written by idiots )." CG: "This could well be the case, because C#, like VB6 and VB.NET, definately is easy enough for a newbie programmer to feel they know what they are doing, just because their code does not crash. But for now the truly terrible code seems to be more in the VB.NEt end of the field" let time takes its toll, ch, ch, ch, changes!!!!!!!!!!! Already apologized for that, because like I said, it's not my style, yet it sure is your style to insult people. you've obviously got issues that go beyond programming. CG wrote: "This is plain stupid. edit and continue existed in VC6, and intellisence has always been there. C# is growing to be more like C++ with the addition of things like templates. I don't really like anonymous methods, but iterators rock, and templates should have been there from the beginning." you can honestly say with a straight face that VC6's edit and continue was like VB's? CG: "Why ? We did it before, you not only agreed with some of my points, but provided a further list of reasons that C# kills VB.NET. Go back and reread it, it'll have the same effect." Why you ask? Why not, it's fun, and I currently having nothing to do besides playing, production is complete!

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

          Giancarlo Aguilera wrote: Never had to, nor was asked to VB 6 did it all, and where it didn't, pulled out the wallet and bought some awesome tools. Why fight it? Not to make too much of an issue out of it, but some of us don't have the cash to buy our way out of corners a less-than-ideal dev tool has painted us into. If i'm gonna get paid to code, i'm best off minimizing my expenses... :) First language i learned was BASIC. Moved on because hardware access was such a pain. Sad to see that with all the improvements made to software since then, we've only managed to create another barrier to use.

          Shog9

          I'm not the Jack of Diamonds... I'm not the six of spades. I don't know what you thought; I'm not your astronaut...

          G 1 Reply Last reply
          0
          • G Graham Bradshaw

            andy brummer wrote: Hopefully in a few years VB will be in the same place that COBOL is now. And where is that, exactly? Have you ever used COBOL professionally (or at all)? Or are you just jumping on the "COBOL is old, so it must be useless" bandwagon?

            A Offline
            A Offline
            Andy Brummer
            wrote on last edited by
            #54

            I know quite a few COBOL developers that maintain applications that do more then $20 million dollars of buisness every day. In fact my first real application dealt with connecting a web application to a COBOL application server on a Tandem mainframe. COBOL is as dead as FORTRAN. They occupy specific niches and aren't used outside of those areas. That is why I didn't say that VB was going to die, because there will be people maintaining VB applications for a long time. I just don't think it will maintain it's position as the most popular windows buisness and web application language. Heck, I even subscribe to the blog of one of the Foxpro developers because he has a really interesting perspective on windows development.


            I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

            C A 2 Replies Last reply
            0
            • J JWood

              You must have started out in the science field. I did some good work in FORTRAN just hated allocation of memory in predefined blocks. And those functions that took large number of arguments, or those idiots that define every variable using the first letter. In SGI and Sun machines it was possible to allocate memory dynamically, but it was platform dependent. Jeez now look at us. Templates, and you don't even have to worry about swap space or the size of static memory. Ah, those wer the days.


              Every nation ridicules other nations, and all are right. - Schopenhauer

              C Offline
              C Offline
              Chris Maunder
              wrote on last edited by
              #55

              Yep - was a physicist, engineer and defence researcher for a while so had my fair share of FORTRAN. My favourite were the variables named X, XX, XXY and XXX. Oh, and column 6. Dynamic memory? We used to dream of dynamic memory. The solution the guys used was that when the program failed due to memory overflow they would increase the array sizes and recompile. I spent 3 years trying to convince one lot to move to C++ but it was just all too hard. cheers, Chris Maunder

              K R 2 Replies Last reply
              0
              • A Andy Brummer

                I know quite a few COBOL developers that maintain applications that do more then $20 million dollars of buisness every day. In fact my first real application dealt with connecting a web application to a COBOL application server on a Tandem mainframe. COBOL is as dead as FORTRAN. They occupy specific niches and aren't used outside of those areas. That is why I didn't say that VB was going to die, because there will be people maintaining VB applications for a long time. I just don't think it will maintain it's position as the most popular windows buisness and web application language. Heck, I even subscribe to the blog of one of the Foxpro developers because he has a really interesting perspective on windows development.


                I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #56

                andy brummer wrote: he has a really interesting perspective on windows development. "We're all going to Hell in a Handbasket"? cheers, Chris Maunder

                1 Reply Last reply
                0
                • A Anders Molin

                  Christian Graus wrote: they both compile to IL, however the C# compiler creates faster code Are you sure? I know C++ generates more optimized IL, but I have never heard that C# should make more efficient IL than VB.NET. - Anders Bill's Bar
                  My Photos

                  WDevs - The worlds first DSP, free blog space, email and more. Now also with forums :)

                  T Offline
                  T Offline
                  Tom Archer
                  wrote on last edited by
                  #57

                  I have friends on the CLR and C# team and according to them, the C# compiler creates better optimized code. 'Course they might be biased :) Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

                  1 Reply Last reply
                  0
                  • A Andy Brummer

                    I know quite a few COBOL developers that maintain applications that do more then $20 million dollars of buisness every day. In fact my first real application dealt with connecting a web application to a COBOL application server on a Tandem mainframe. COBOL is as dead as FORTRAN. They occupy specific niches and aren't used outside of those areas. That is why I didn't say that VB was going to die, because there will be people maintaining VB applications for a long time. I just don't think it will maintain it's position as the most popular windows buisness and web application language. Heck, I even subscribe to the blog of one of the Foxpro developers because he has a really interesting perspective on windows development.


                    I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                    A Offline
                    A Offline
                    Andy Brummer
                    wrote on last edited by
                    #58

                    It's interesting to hear someone with low level C++ and algorithm experience getting pumped about a product like visual foxpro. Some of the posts have been about creating compressed indexes from the low memory DOS days to optimizing memory alocation algorithms based on a graphical memory allocation display he built using foxpro, or how they built garbage collection into the application using foxpro database tables. :wtf:


                    I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                    V 1 Reply Last reply
                    0
                    • N Nish Nishant

                      Christian Graus wrote: telling them we refuse to work in VB.NET, unless they pay double Damnit CG, you are increasing the average VB.NET pay scale. 2 years later, they'd end up as the highest paid people in the .NET industry :omg: Nish

                      C Offline
                      C Offline
                      Christian Graus
                      wrote on last edited by
                      #59

                      Well, if I was getting work in VB.NET, that would be the case, but instead I'm getting what I really want - the client converts to C#. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

                      1 Reply Last reply
                      0
                      • A Andy Brummer

                        It's interesting to hear someone with low level C++ and algorithm experience getting pumped about a product like visual foxpro. Some of the posts have been about creating compressed indexes from the low memory DOS days to optimizing memory alocation algorithms based on a graphical memory allocation display he built using foxpro, or how they built garbage collection into the application using foxpro database tables. :wtf:


                        I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                        V Offline
                        V Offline
                        Vikram A Punathambekar
                        wrote on last edited by
                        #60

                        andy brummer wrote: It's interesting to hear someone with low level C++ and algorithm experience getting pumped about a product like visual foxpro. Some of the posts have been about creating compressed indexes from the low memory DOS days to optimizing memory alocation algorithms based on a graphical memory allocation display he built using foxpro, or how they built garbage collection into the application using foxpro database tables. Link, please! :-D Vikram.


                        http://www.geocities.com/vpunathambekar "Argue for your limitations, and sure enough, they're yours." – Richard Bach, "Illusions".

                        A 1 Reply Last reply
                        0
                        • C Christian Graus

                          I've found that dumb managers often want VB.NET because they percieve that it's easier, and therefore easier to find other programmers who can use it. This will change, and in fact, we're having no trouble converting clients to C#, simply by showing them our work and telling them we refuse to work in VB.NET, unless they pay double. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

                          V Offline
                          V Offline
                          Vikram A Punathambekar
                          wrote on last edited by
                          #61

                          Christian Graus wrote: telling them we refuse to work in VB.NET, unless they pay double. Are you implying VB.net coders should be paid more than C# devs? :mad: ;P Vikram.


                          http://www.geocities.com/vpunathambekar "Argue for your limitations, and sure enough, they're yours." – Richard Bach, "Illusions".

                          C 1 Reply Last reply
                          0
                          • V Vikram A Punathambekar

                            Christian Graus wrote: telling them we refuse to work in VB.NET, unless they pay double. Are you implying VB.net coders should be paid more than C# devs? :mad: ;P Vikram.


                            http://www.geocities.com/vpunathambekar "Argue for your limitations, and sure enough, they're yours." – Richard Bach, "Illusions".

                            C Offline
                            C Offline
                            Christian Graus
                            wrote on last edited by
                            #62

                            LOL - heaven forbid. As I suspect you've realised ( from the smiley ), I want danger money before I rot my brain with VB Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

                            1 Reply Last reply
                            0
                            • V Vikram A Punathambekar

                              andy brummer wrote: It's interesting to hear someone with low level C++ and algorithm experience getting pumped about a product like visual foxpro. Some of the posts have been about creating compressed indexes from the low memory DOS days to optimizing memory alocation algorithms based on a graphical memory allocation display he built using foxpro, or how they built garbage collection into the application using foxpro database tables. Link, please! :-D Vikram.


                              http://www.geocities.com/vpunathambekar "Argue for your limitations, and sure enough, they're yours." – Richard Bach, "Illusions".

                              A Offline
                              A Offline
                              Andy Brummer
                              wrote on last edited by
                              #63

                              http://weblogs.asp.net/calvin_hsia/[^]


                              I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                              V 1 Reply Last reply
                              0
                              • I Ivor S Sargoytchev

                                Can anybody recommend a good C# to VB.NET converter that can convert entire C# projects? I tried several and none of them produce code that can compile. I need to automate converting several thousand lines of code on a regular basis. Manual tweaking is not an option.

                                G Offline
                                G Offline
                                Gregg Holter
                                wrote on last edited by
                                #64

                                you could try this link: http://www.kamalpatel.net/ConvertCSharp2VB.aspx[^] hope it helps. Goodluck!

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  Yep - was a physicist, engineer and defence researcher for a while so had my fair share of FORTRAN. My favourite were the variables named X, XX, XXY and XXX. Oh, and column 6. Dynamic memory? We used to dream of dynamic memory. The solution the guys used was that when the program failed due to memory overflow they would increase the array sizes and recompile. I spent 3 years trying to convince one lot to move to C++ but it was just all too hard. cheers, Chris Maunder

                                  K Offline
                                  K Offline
                                  Kyudos
                                  wrote on last edited by
                                  #65

                                  I use FORTRAN everyday. What is wrong with allocatable arrays in FORTRAN? They works fine for me :o) I know, I know, you're talking about the good 'ol bad 'ol days :) Sounds like you're behind the FORTRAN times Chris...

                                  1 Reply Last reply
                                  0
                                  • T Tom Archer

                                    One plausable reason is that he has C# code that will perform a prospective client task, but the client is insistent on VB.NET Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

                                    D Offline
                                    D Offline
                                    Duncan Edwards Jones
                                    wrote on last edited by
                                    #66

                                    Or his C# developer left the company and the agencies can only get hold of VB.Net developers at short notice? '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

                                    1 Reply Last reply
                                    0
                                    • C Chris Maunder

                                      Yep - was a physicist, engineer and defence researcher for a while so had my fair share of FORTRAN. My favourite were the variables named X, XX, XXY and XXX. Oh, and column 6. Dynamic memory? We used to dream of dynamic memory. The solution the guys used was that when the program failed due to memory overflow they would increase the array sizes and recompile. I spent 3 years trying to convince one lot to move to C++ but it was just all too hard. cheers, Chris Maunder

                                      R Offline
                                      R Offline
                                      Richard Jones
                                      wrote on last edited by
                                      #67

                                      Imagine 128K of RAM, divided into 16K blocks, only 1 of which was active at a time. Sort of like jumping up, and someone replaces your chair with another one before you land. This was the Atari computer, pre-ST. X| Don't know if they fixed this for the ST line. Top 10 Geek Resulutions: 5. To decipher what that big room is, which has the blue ceiling and poor climate control.

                                      1 Reply Last reply
                                      0
                                      • S Shog9 0

                                        Giancarlo Aguilera wrote: Never had to, nor was asked to VB 6 did it all, and where it didn't, pulled out the wallet and bought some awesome tools. Why fight it? Not to make too much of an issue out of it, but some of us don't have the cash to buy our way out of corners a less-than-ideal dev tool has painted us into. If i'm gonna get paid to code, i'm best off minimizing my expenses... :) First language i learned was BASIC. Moved on because hardware access was such a pain. Sad to see that with all the improvements made to software since then, we've only managed to create another barrier to use.

                                        Shog9

                                        I'm not the Jack of Diamonds... I'm not the six of spades. I don't know what you thought; I'm not your astronaut...

                                        G Offline
                                        G Offline
                                        Giancarlo Aguilera
                                        wrote on last edited by
                                        #68

                                        hello shog, sorry for the delayed, although you probably weren't looking for one either. shog wrote: "Not to make too much of an issue out of it, but some of us don't have the cash to buy our way out of corners a less-than-ideal dev tool has painted us into." I really don't want to make an issue out of it either, for I sympathize with the folks that need but cannot afford third party tools. I've been fortunate in the sense that the return value of the tools I've used have always exponentially exceeded their cost, for time can usually be translated into money; furthermore, 500 dollars was the most expensive price I had to pay for a tool that in the end saved me a whole lot of time and therefore saved my employers money, for they pay me for my time. Now that I work for an ISV I'm even more spoiled. But in any case, I understand your point, at least the third part, that not everyone should have to pay extra money for tools. furthermore, true, the vb 6 development did force you into particular dark corners at times, however, there's is no such thing as an ideal development tool, just because you can do anything in c++ doesn't mean the environment is ideal. just look at c# and its development environment. in any case, your point is well taken

                                        1 Reply Last reply
                                        0
                                        • A Andy Brummer

                                          http://weblogs.asp.net/calvin_hsia/[^]


                                          I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                                          V Offline
                                          V Offline
                                          Vikram A Punathambekar
                                          wrote on last edited by
                                          #69

                                          Thanks, will take a look. :) Vikram.


                                          http://www.geocities.com/vpunathambekar "Argue for your limitations, and sure enough, they're yours." – Richard Bach, "Illusions".

                                          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