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. VB6: Best programming language ever

VB6: Best programming language ever

Scheduled Pinned Locked Moved The Lounge
76 Posts 38 Posters 62 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.
  • R Robert Chafer

    Well said. I have had many years of happy VB6 programming - and still use it. It has 'issues' - name me a language that doesn't (on second thoughts don't). VB6 is good at some things - bad at lots of others. If you are in its sweet spot it can be very productive.

    M Offline
    M Offline
    Member 4608898
    wrote on last edited by
    #49

    It says something if a language, unchanged from the original spec is still in use 14 years after it came out. People just want something simple. Sometimes I look at the C++ or C# or Java or Javascript code and think why have they made everything so complex. It is nice to go back to languages like VB6 or VBA or VBScript.

    1 Reply Last reply
    0
    • P Pete OHanlon

      I'm pretty sure the language would have fit. As I said, it's having people who don't know what they are doing that is generally the problem. There have been many ERP implementations that used VB6 and they seemed to be able to cope admirably. The problem is, it's easy to knock VB because it's looked down on and derided as a toy language by "serious" developers, and this is just a crass attitude. Unfortunately, this infantile behaviour has carried over from VB6 through to the VB.NET world and I can understand why we don't get many VB developers on CodeProject - because we have a self styled elite pouring scorn on them.

      L Offline
      L Offline
      Luiz Monad
      wrote on last edited by
      #50

      Its the lack of ";". There is serious problems for languages that lack it.

      1 Reply Last reply
      0
      • D dan sh

        No. It is not. Just kidding.

        M Offline
        M Offline
        MSBassSinger
        wrote on last edited by
        #51

        Well, I don't know about best ever, but in its time, it was the best for developing software on Windows platforms. I was writing software before Windows (COBOEL, FORTRAN, Clipper) and still writing today in more modern languages. I worked in Visual Basic from version 1 through VB6 and into .NET. Most of my programming today is in C#. VB6 worked great for UI apps and middleware. I wrote Windows services, COM+ DLLs, multithreaded apps, and rarely had any problems. VB6 programs, written correctly, were scalable, fast, and reliable. If the very few places where VB6 code was not the best performer, you could identify that, rewrite it in C or C++, and replace the VB6 DLL with that DLL once you could justify it. VB6 (and earlier versions) served two markets - 1) the prototyper and non-programmer small utility programmer. That is what some of the quickie UI elements, like the ADO control, were made for; and 2) the professional programmer. For the latter, the programmer was expected to use good object oriented techniques and not use the amateur tools the VB6 IDE provided for the former. VB6 was not an all-inclusive language, but was open for calling other DLLs, COM or not. For web programming, WebClasses were a great design, but failed to catch on. VB6 programmers who used the language and tool as it was designed to be used, who used good professional programming techniques, found VB6 to be the best tool on the market. In time, we needed a better implementation of object oriented programming, and an expansion to creating 64 bit programs. VB6, as the IDE and language was designed, with its backwards compatibility, simply could not do that. That is where .NET came in. I had no problem migrating my VB6 program to VB.NET, and eventually to C#, since I had followed good OO processes when writing in VB6. A lot of VB programmers I knew, who stubbornly retained their procedural programming mindset from the VB3 days had a much more difficult time and had to rewrite much of their code. In order to help the migration process along for a large VB6 project, I wrote new code in C# such that the DLLs had a COM interop wrapper that allowed them to be called in existing VB6 code the same as if they had been written in VB6, and pure C# "OCXs" that existing VB6 forms and user controls could use straight off the VB6 IDE toolbar. That allows us to replace old VB6 code one piece at a time with C# code and still use the C# components in existing VB6 code. As much as I think of VB6, though, I d

        1 Reply Last reply
        0
        • D dan sh

          No. It is not. Just kidding.

          R Offline
          R Offline
          ru55r3353
          wrote on last edited by
          #52

          Visual Basic was a major breakthrough in that it was the first widely adopted "visual" programming tool for Windows. But it had severe weaknesses from the start that were never fixed, even by the time they got to version 6. Borland's Delphi beat the crap out of VB - that is why Microsoft lured Anders Hejlsberg (and others) away from Borland in 1996. Anders "fixed" VB6 - by killing it and creating C#.

          I 1 Reply Last reply
          0
          • B Bob Gogolen

            I found VB6 to be quite useful, and used VB since version 1. (I still have the original 5 1/4" disk but no machine to read it.) I used it extensively where I worked, tying into various databases the company used (Informix, SQL Server, Oracle). I was able to use the VB knowledge in VBA and VBScript as well. It's still a great language for quick-and-dirty stuff. That said, I refused to learn VB.Net, because I already knew C/C++ and C# was easier to learn and using both VB6 and VB.Net was confusing when the syntax changed so much.

            U Offline
            U Offline
            User 2764366
            wrote on last edited by
            #53

            It was possible to do in VB6 almost anything that could be done in C -- just easier and quicker. VB still lives. VBA is currently VB7.

            1 Reply Last reply
            0
            • P Pete OHanlon

              I'm pretty sure the language would have fit. As I said, it's having people who don't know what they are doing that is generally the problem. There have been many ERP implementations that used VB6 and they seemed to be able to cope admirably. The problem is, it's easy to knock VB because it's looked down on and derided as a toy language by "serious" developers, and this is just a crass attitude. Unfortunately, this infantile behaviour has carried over from VB6 through to the VB.NET world and I can understand why we don't get many VB developers on CodeProject - because we have a self styled elite pouring scorn on them.

              I Offline
              I Offline
              ISpliter
              wrote on last edited by
              #54

              So true, the VB6 articles do not occur often on Code Project (although not the case in 2014) because there is always a small group that has bad words splashing the article without basis of any kind. I am convinced that many VB6 programmers have lived with the same impression. I met some "serious" developers (C++, Java) myself and I was surprised that in their lives they did nothing complex in the languages ​​they prefer. Then suddenly I woke up to reality, I understood that they were only storytellers. A typical VB6 article should look like this: Compilers Demystified: Function Pointers in Visual Basic 6.0[^]

              1 Reply Last reply
              0
              • K Kirk 10389821

                While VB.NET is a respectable beast, prior versions of VB were not. It was VB, and not the programmer. There is a negative connotation to "VB Programmer" because of the well know VB issues. But I thank MSFT for VB. Because it failed so miserably, I was forced to buy Delphi 1.0 and give it a try. wow, it was everything VB wanted to be. Rolled my own component that weekend (an extension of the TEdit), which had taken me a week to do as my first VBX project. Never looked back. Fell in love with Delphi. So VB is like the quirky friend who throws one of his cheesy parties, and I ended up finding my soul mate... Because we were a Microsoft Partner at the time, I did not tell anyone I was using Delphi. I rewrote the ENTIRE application in Delphi in like 2 weeks, released the "updated" version, and the users were THRILLED. Gone were the memory problems, and the slowness, the instability. The DLL Hell... Within 9 months it made product of the year at a big trade show. (we won't talk about the fallout when one of the other programmers on a DIFFERENT product realized it was not VB, LOL)... Ahhh, good memories! PS: The product shipped on a Single 3.5" disk, and supported internet updates via http requests!!!

                I Offline
                I Offline
                ISpliter
                wrote on last edited by
                #55

                There is NO negative connotation to "VB Programmer". If VB.NET is such a respectable beast, why does VB6 has so many programmers in 2014 and VB.NET is practically invisible ?! PS: By the simple fact that you wrote this comment, you looked back :)

                K 1 Reply Last reply
                0
                • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                  Pete O'Hanlon wrote:

                  make developing business applications quick.

                  That what you say - but in 1999 when we went to Microsoft they sold us VB6 to develop the new version of our ERP. It was catastrophic... It was a group - so-called - specialist in distributed network applications (they called it DNALab), and they almost ruined our reputation with that suggestion... So the fact that even Microsoft didn't know for what VB is good, but they tried it on everyone without mercy... X|

                  I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                  I Offline
                  I Offline
                  ISpliter
                  wrote on last edited by
                  #56

                  DNALab ?! Any connection with the research in genetics ?!

                  Kornfeld Eliyahu PeterK 1 Reply Last reply
                  0
                  • D dan sh

                    No. It is not. Just kidding.

                    I Offline
                    I Offline
                    ISpliter
                    wrote on last edited by
                    #57

                    Well, it is the best language (if you know VB6 well enough), depends on what you use it. It has a very wide margin of types of applications. It is a very cool language and fast as hell.

                    1 Reply Last reply
                    0
                    • R ru55r3353

                      Visual Basic was a major breakthrough in that it was the first widely adopted "visual" programming tool for Windows. But it had severe weaknesses from the start that were never fixed, even by the time they got to version 6. Borland's Delphi beat the crap out of VB - that is why Microsoft lured Anders Hejlsberg (and others) away from Borland in 1996. Anders "fixed" VB6 - by killing it and creating C#.

                      I Offline
                      I Offline
                      ISpliter
                      wrote on last edited by
                      #58

                      Really ?! VB6 might be the best language in the world (for obvious reasons). I am a VB6 programmer, what are the weaknesses that you talk about, I do not know for VB6 to have any weaknesses ! Delphi better than VB6 ?! NO, in any event... be realistic! VB6 is in many cases faster than C++, and you talk about Delphi ?! again, be realistic!

                      1 Reply Last reply
                      0
                      • L Lost User

                        PHP too, PHP too.

                        I Offline
                        I Offline
                        ISpliter
                        wrote on last edited by
                        #59

                        VB6 best programming language ever: Yes, but PHP is too :), true (however, PHP is a scripting language) , but I agree :)

                        1 Reply Last reply
                        0
                        • D dan sh

                          Wasn't it created for those who could not code in real programming language? I would not know as I wrote my first program in year 2000. I used C++ for it. Proud.

                          I Offline
                          I Offline
                          ISpliter
                          wrote on last edited by
                          #60

                          @dd@nish Any intermediate VB6 programmer can put you in the corner of shame (hell, even I can do that). Do not believe me?! read this: Compilers Demystified: Function Pointers in Visual Basic 6.0[^] I am very proud to be a part of the great VB6 community, where many intelligent programmers reside! Best regards, ISpliter :)

                          1 Reply Last reply
                          0
                          • C ClockMeister

                            You may be joking but in it's day it really was. The technology spawned an entire industry.

                            I Offline
                            I Offline
                            ISpliter
                            wrote on last edited by
                            #61

                            Considering the polls, VB6 is still the best programming language in the world: http://www.theranking.com/what-is-the-best-programming-language-in-the-world_r55229[^] http://www.theranking.com/what-is-the-best-programming-language-ever_r43672[^] http://www.theranking.com/best-programing-language-in-the-world_r36102[^]

                            C 1 Reply Last reply
                            0
                            • R Rutvik Dave

                              :-D There was a time when it was a cool language, and I have made quite a bit money writing VB6 Applications. So I can't complain. And on the other hand after using it for few years and earning money, I failed to understand that why my university taught me C++, or why we even need it. But then C# happen... :laugh:

                              Remind Me This - Manage, Collaborate and Execute your Project in the Cloud

                              I Offline
                              I Offline
                              ISpliter
                              wrote on last edited by
                              #62

                              When C# happened to me, I still preferred VB6. :)

                              1 Reply Last reply
                              0
                              • I ISpliter

                                Considering the polls, VB6 is still the best programming language in the world: http://www.theranking.com/what-is-the-best-programming-language-in-the-world_r55229[^] http://www.theranking.com/what-is-the-best-programming-language-ever_r43672[^] http://www.theranking.com/best-programing-language-in-the-world_r36102[^]

                                C Offline
                                C Offline
                                ClockMeister
                                wrote on last edited by
                                #63

                                Doesn't surprise me a bit. Most folks that want to "diss" the tool either haven't really used it or are listening to marketing talk. Yeah, it's old and been around for awhile but so has my Raleigh I ride 60 to 70 miles per week. (It's a 1987 model BTW - and more than one person has drooled over it.)

                                1 Reply Last reply
                                0
                                • M Member 4724084

                                  No it's not better, but it does teach you to be better coders because you are paying a lot more attention to what you are doing as opposed to letting the managed code do it for you. In many instances the managed code is also slower, see my cryptography example. But I do agree with you that managed code does suit most instances. I was being very specific with the example.

                                  I Offline
                                  I Offline
                                  ISpliter
                                  wrote on last edited by
                                  #64

                                  In fact, it may be the best. If you are interested in cryptography applications here are some app's in VB6 wich are very, very, very, fast! (this app's are VB6 only, no assembly line is used, just pure VB6 code): http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=73477&lngWId=1[^] http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=73481&lngWId=1[^] http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=73513&lngWId=1[^] http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=73500&lngWId=1[^] http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=73499&lngWId=1[^] :)

                                  M 1 Reply Last reply
                                  0
                                  • D dan sh

                                    No. It is not. Just kidding.

                                    I Offline
                                    I Offline
                                    ISpliter
                                    wrote on last edited by
                                    #65

                                    You are a joker, I like you. However, this time you did not make a good joke since Visual Basic 6.0 is the first in the polls :)

                                    1 Reply Last reply
                                    0
                                    • M Marc Clifton

                                      d@nish wrote:

                                      No. It is not. Just kidding.

                                      You must be VB programmer! April Fool's day isn't until tomorrow. Marc

                                      I Offline
                                      I Offline
                                      ISpliter
                                      wrote on last edited by
                                      #66

                                      I am a VB6 programmer and I hate when people do not make the difference between VB6 programmers and other VB programmers. What it is so funny regarding this post ?! care to explain ?!

                                      M 1 Reply Last reply
                                      0
                                      • I ISpliter

                                        There is NO negative connotation to "VB Programmer". If VB.NET is such a respectable beast, why does VB6 has so many programmers in 2014 and VB.NET is practically invisible ?! PS: By the simple fact that you wrote this comment, you looked back :)

                                        K Offline
                                        K Offline
                                        Kirk 10389821
                                        wrote on last edited by
                                        #67

                                        Honestly, Because VB.net introduces complex concepts foreign to VB, and new layout concepts. Otherwise they would be here.

                                        I 1 Reply Last reply
                                        0
                                        • K Kirk 10389821

                                          Honestly, Because VB.net introduces complex concepts foreign to VB, and new layout concepts. Otherwise they would be here.

                                          I Offline
                                          I Offline
                                          ISpliter
                                          wrote on last edited by
                                          #68

                                          Nothing is foreign to VB6. VB6 already has many of the concepts you're talking about. How is this possible since is has not been updated for 15 years ?! Well, many of these concepts are made in VB6 and are stored inside classes designed by different VB6 programmers (these are open source and anyone can use them). If you are more specific I can give you some examples. PS: Ask yourself how often do you use these "great", "complex" and "modern" VB.NET concepts (which are implemented in VB6 too, by us, the VB6 programmers). Thanks for the reply, Best regards, ISpliter

                                          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