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 65 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 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
                • I ISpliter

                  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 Offline
                  M Offline
                  Member 4724084
                  wrote on last edited by
                  #69

                  I see VB6 as an intermediary language, it's not as flexible as C or C++ , but in some instances it is superior to more modern languages such as C# because it does not enforce "best practices". Case in point is the following rant. If you implement AES in VB6, using best coding practices, such as all local variables and the like, it is something along the lines of 45-50% slower than if it was implemented in C. If however you implemented AES using code that does not fit "best coding practices", hand coding most things rather than using managed code, or doing things such as declaring all the variables as either global or static, you will notice that the VB6 code runs considerably faster, to the tune of 5-10% slower than if it were implemented in C. There are 2 reasons for this. 1) VB6 is not ideal for cryptographic protocols, and 2) allocation of memory and then de-allocating it after you have finished running through a sub takes time, ok sure it's only a few microseconds, but when you are running through those subs several thousand times when encrypting a large file, you will definitely notice a significant difference in speed, even when compiled. The more computationally intensive those subs are, the worse the lag becomes. Point 2 is basic comp-sci. Having variables declared globally or as a static means the memory is allocated once, and is not released until the application has finished doing what it is doing. Two of the core requirements in any cryptographic system is speed, and having the smallest memory footprint as possible so it can be used in multiple places, such as embedded systems or even smart cards which have an absolute minimum amount of resources available to it. You can have the most secure system in the world, but if it has a large footprint, you are limiting it's use. And if it's to slow no one will use it at all. So you have to make some compromises in your code to get that speed and minimal footprint. The prime compromise is using code that is considered bad by most application developers. Bypassing most of the managed code, and hand tuning things yourself, and using intensely small subs, the more complex the sub the slower it will run. Even something as simple as turning off intrinsic compiler based error checking will effect the speed and footprint of your code. Of course, using techniques that are not "best practice" can lead to catastrophic failure of the program in question, or the whole system if you are using a language that is capable of such a thing such as C. That is ex

                  1 Reply Last reply
                  0
                  • I ISpliter

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

                    Kornfeld Eliyahu PeterK Offline
                    Kornfeld Eliyahu PeterK Offline
                    Kornfeld Eliyahu Peter
                    wrote on last edited by
                    #70

                    No! It's a name made by Microsoft. Distributed Network Application === DNA...

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

                    "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

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

                      No! It's a name made by Microsoft. Distributed Network Application === DNA...

                      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
                      #71

                      :)

                      1 Reply Last reply
                      0
                      • I ISpliter

                        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 Offline
                        M Offline
                        Marc Clifton
                        wrote on last edited by
                        #72

                        ISpliter wrote:

                        What it is so funny regarding this post ?! care to explain ?!

                        is the best programming language ever" in jest. I thought it was funny that you made such a post the day before April Fool's Day.

                        ISpliter wrote:

                        I am a VB6 programmer and I hate when people do not make the difference between VB6 programmers and other VB programmers.

                        Uh...Isn't VB6 totally outdated? From wikipedia: All versions of the Visual Basic development environment from 1.0 to 6.0 are now retired and unsupported by Microsoft. Marc

                        I 1 Reply Last reply
                        0
                        • M Marc Clifton

                          ISpliter wrote:

                          What it is so funny regarding this post ?! care to explain ?!

                          is the best programming language ever" in jest. I thought it was funny that you made such a post the day before April Fool's Day.

                          ISpliter wrote:

                          I am a VB6 programmer and I hate when people do not make the difference between VB6 programmers and other VB programmers.

                          Uh...Isn't VB6 totally outdated? From wikipedia: All versions of the Visual Basic development environment from 1.0 to 6.0 are now retired and unsupported by Microsoft. Marc

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

                          Mark, VB6 is not outdated at all, it is supported by Microsoft until 2020 - 2023. On Wikypedia the information about some programming languages are false, no wonder that the world begins to have no confidence in the information written there (except for the scientific information which is well filtered). Thank you for the clarification :)

                          1 Reply Last reply
                          0
                          • D dan sh

                            No. It is not. Just kidding.

                            U Offline
                            U Offline
                            User 8067282
                            wrote on last edited by
                            #74

                            It is the best programming language. No doubt

                            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!!!

                              B Offline
                              B Offline
                              Bob G Beechey
                              wrote on last edited by
                              #75

                              Yes, Delphi was a revelation. I could not understand why developers stuck with VB when Delphi was a better, easier-to-use, faster alternative. It was obvious at many Microsoft presentations that they had a real respect for Delphi. Tellingly, the tutorial that came with VB3 was written in Delphi (it would have been slow and clunky in VB3). Compared with Delphi, I was unimpressed with VB6. All that changed with VB.NET - at last BASIC was a real OO language. C# was also impressive - it looked like Java but smelled like Delphi - the ascendancy of Delphi was over. (Although, in those early days of .NET, if you wanted to run a basic, performance-driven desktop application outside of the managed environment, what would you use? C++, Delphi, VB6?)

                              K 1 Reply Last reply
                              0
                              • B Bob G Beechey

                                Yes, Delphi was a revelation. I could not understand why developers stuck with VB when Delphi was a better, easier-to-use, faster alternative. It was obvious at many Microsoft presentations that they had a real respect for Delphi. Tellingly, the tutorial that came with VB3 was written in Delphi (it would have been slow and clunky in VB3). Compared with Delphi, I was unimpressed with VB6. All that changed with VB.NET - at last BASIC was a real OO language. C# was also impressive - it looked like Java but smelled like Delphi - the ascendancy of Delphi was over. (Although, in those early days of .NET, if you wanted to run a basic, performance-driven desktop application outside of the managed environment, what would you use? C++, Delphi, VB6?)

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

                                Should I mention that Anders made BC++ and Delphi interoperate (sharing objects in a binary format!). Ideas I believe HE HELPED carry into .NET when he transitioned over to microsoft. I still use Delphi to this day, although I am many years behind being current... Stability first. Back in the day, C++ took too long to get something off the ground, and VB was near impossible to support. But MAYBE VB6 could have been used. I made the switch way before VB6, so I cannot speak to it as much. All good memories... I always thought Java would do better. Always wanted a Delphi-Like Java IDE, but as I develop more, and longer, I realize the issues with COMPONENTS that install into the IDE are really tough for builds, etc... Eventually I think they will get it worked out... I feel spoiled :-)

                                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