Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. VB & C++ Topic Ealier Got Me Thinking...

VB & C++ Topic Ealier Got Me Thinking...

Scheduled Pinned Locked Moved The Lounge
delphic++hardwarequestion
56 Posts 11 Posters 10 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.
  • D den2k88

    VB6 is quite easy to interface with DLLs and Windows API, it has drawbacks (it is single thread for example) but all are easy to work around. Also it is harder to disassemble and that may be desirable. If you think that one of the biggest X-ray inspection machine producers has the controller part of the software in VB6 and its customers are the major multinational food companies...

    GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

    G Offline
    G Offline
    glennPattonWork3
    wrote on last edited by
    #5

    The thing is don't blame the tool, blame the tool using the tool! We all must have come across the classic C/C++ spaghetti that works, who know how. Having a code or editor that enforces a given style is just asking for trouble later when people move away from it...

    1 Reply Last reply
    0
    • G glennPattonWork3

      Hi All, VB was (is?) seen as the quickest way to write Windows apps. I came to Windows from the embedded side, really reading data coming in via various ports and showing in Windows. VB6 was the quickest way as the company was run by a Micro-Sharft consultant. But there was Borland's C++ Builder and Delphi as well, BASIC was seen as the go to language for kids in my day I started with BBC Basic and C came with the Amiga... I was a little shocked to find BASIC being used in the wild...

      CPalliniC Online
      CPalliniC Online
      CPallini
      wrote on last edited by
      #6

      Quote:

      BASIC was seen as the go to language for kids in

      VB.NET simply isn't so. You know, VB.NET coding is by far more similar to C# than to VB6.

      In testa che avete, signor di Ceprano?

      G 1 Reply Last reply
      0
      • CPalliniC CPallini

        Quote:

        BASIC was seen as the go to language for kids in

        VB.NET simply isn't so. You know, VB.NET coding is by far more similar to C# than to VB6.

        G Offline
        G Offline
        glennPattonWork3
        wrote on last edited by
        #7

        That's why I went for C# instead VB when I moved to .NET. I had many years as a C programmer.

        1 Reply Last reply
        0
        • G glennPattonWork3

          Hi All, VB was (is?) seen as the quickest way to write Windows apps. I came to Windows from the embedded side, really reading data coming in via various ports and showing in Windows. VB6 was the quickest way as the company was run by a Micro-Sharft consultant. But there was Borland's C++ Builder and Delphi as well, BASIC was seen as the go to language for kids in my day I started with BBC Basic and C came with the Amiga... I was a little shocked to find BASIC being used in the wild...

          F Offline
          F Offline
          F ES Sitecore
          wrote on last edited by
          #8

          glennPattonWork wrote:

          BASIC was seen as the go to language for kids in my day I started with BBC Basic and C came with the Amiga... I was a little shocked to find BASIC being used in the wild...

          That's just ignorance I'm afraid. Before .net, VB6 was the only real solution for Enterprise apps, and there was nothing wrong with using it. Almost all enterprise solutions from houses that used an MS stack ran on VB6. The fact that "B" stands for "BASIC" and you think "BASIC is for kids" is simply your opinion, it isn't reality.

          CPalliniC L 2 Replies Last reply
          0
          • D den2k88

            VB6 is still quite used and maintained, to my horror. And yes, it's still the quickest way - VB6, it is. VB.NET has the same tools of C#, is more verbose and lacks a couple of features so it's really no longer useful, considering you can't directly port VB6 code onto .NET.

            GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

            F Offline
            F Offline
            F ES Sitecore
            wrote on last edited by
            #9

            den2k88 wrote:

            VB.NET has the same tools of C#, is more verbose and lacks a couple of features

            There are also things VB.net does that c# doesn't.

            1 Reply Last reply
            0
            • D den2k88

              VB6 is quite easy to interface with DLLs and Windows API, it has drawbacks (it is single thread for example) but all are easy to work around. Also it is harder to disassemble and that may be desirable. If you think that one of the biggest X-ray inspection machine producers has the controller part of the software in VB6 and its customers are the major multinational food companies...

              GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

              F Offline
              F Offline
              F ES Sitecore
              wrote on last edited by
              #10

              den2k88 wrote:

              VB6 ... is single thread for example

              That's simply not true at all.

              D 1 Reply Last reply
              0
              • F F ES Sitecore

                den2k88 wrote:

                VB6 ... is single thread for example

                That's simply not true at all.

                D Offline
                D Offline
                den2k88
                wrote on last edited by
                #11

                Yeah, sorry, I've only worked on it for 6 years and a half each single day.

                GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                F 1 Reply Last reply
                0
                • F F ES Sitecore

                  glennPattonWork wrote:

                  BASIC was seen as the go to language for kids in my day I started with BBC Basic and C came with the Amiga... I was a little shocked to find BASIC being used in the wild...

                  That's just ignorance I'm afraid. Before .net, VB6 was the only real solution for Enterprise apps, and there was nothing wrong with using it. Almost all enterprise solutions from houses that used an MS stack ran on VB6. The fact that "B" stands for "BASIC" and you think "BASIC is for kids" is simply your opinion, it isn't reality.

                  CPalliniC Online
                  CPalliniC Online
                  CPallini
                  wrote on last edited by
                  #12

                  Quote:

                  "BASIC is for kids" is simply your opinion, it isn't reality

                  It is neverthless, in my opinion too. And possibly in the ones of the language authors. The hint is in the acronym.

                  In testa che avete, signor di Ceprano?

                  F 1 Reply Last reply
                  0
                  • CPalliniC CPallini

                    Quote:

                    "BASIC is for kids" is simply your opinion, it isn't reality

                    It is neverthless, in my opinion too. And possibly in the ones of the language authors. The hint is in the acronym.

                    F Offline
                    F Offline
                    F ES Sitecore
                    wrote on last edited by
                    #13

                    You're as equally entitled to your wrong opinion as the OP is :)

                    CPalliniC 1 Reply Last reply
                    0
                    • D den2k88

                      Yeah, sorry, I've only worked on it for 6 years and a half each single day.

                      GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                      F Offline
                      F Offline
                      F ES Sitecore
                      wrote on last edited by
                      #14

                      When I started using VB it was VB4, then I used VB5 or the entirety of its life, then I used VB6 for its entirety before moving to .net 1.0. I'm not sure if your comment was some kind of attempt to "pull rank", but if it was I prefer to argue with facts rather than personal credentials :)

                      D 1 Reply Last reply
                      0
                      • F F ES Sitecore

                        When I started using VB it was VB4, then I used VB5 or the entirety of its life, then I used VB6 for its entirety before moving to .net 1.0. I'm not sure if your comment was some kind of attempt to "pull rank", but if it was I prefer to argue with facts rather than personal credentials :)

                        D Offline
                        D Offline
                        den2k88
                        wrote on last edited by
                        #15

                        So you should know that VB6 is single thread. Each window, timer, event is processed sequentially.

                        GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                        J F 2 Replies Last reply
                        0
                        • F F ES Sitecore

                          You're as equally entitled to your wrong opinion as the OP is :)

                          CPalliniC Online
                          CPalliniC Online
                          CPallini
                          wrote on last edited by
                          #16

                          So you are. As matter of fact, your wrong opinion is more wrong than ours. :-D

                          In testa che avete, signor di Ceprano?

                          F G 2 Replies Last reply
                          0
                          • D den2k88

                            So you should know that VB6 is single thread. Each window, timer, event is processed sequentially.

                            GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                            J Offline
                            J Offline
                            Jorgen Andersson
                            wrote on last edited by
                            #17

                            VB6 doesn't have proper builtin support for multithreading, but that doesn't mean you can't. You can: FreeVBCode code snippet: A Thread to Visual Basic: Multi-Threading In VB5 and VB6[^] But as they say: Just because you can do something, doesn't mean you should.

                            Wrong is evil and must be defeated. - Jeff Ello

                            K 1 Reply Last reply
                            0
                            • CPalliniC CPallini

                              So you are. As matter of fact, your wrong opinion is more wrong than ours. :-D

                              F Offline
                              F Offline
                              F ES Sitecore
                              wrote on last edited by
                              #18

                              My comments are not opinion though, I've been involved in many complex, high-performance enterprise applications built on VB6.

                              CPalliniC 1 Reply Last reply
                              0
                              • CPalliniC CPallini

                                So you are. As matter of fact, your wrong opinion is more wrong than ours. :-D

                                G Offline
                                G Offline
                                glennPattonWork3
                                wrote on last edited by
                                #19

                                I didn't mean to start a fight, BASIC is Beginners All purpose Symbolic Instruction Code, I heard all the way BASIC isn't used in the real world...

                                F CPalliniC R 3 Replies Last reply
                                0
                                • G glennPattonWork3

                                  I didn't mean to start a fight, BASIC is Beginners All purpose Symbolic Instruction Code, I heard all the way BASIC isn't used in the real world...

                                  F Offline
                                  F Offline
                                  F ES Sitecore
                                  wrote on last edited by
                                  #20

                                  VisualBasic was very much used in the real world.

                                  G 1 Reply Last reply
                                  0
                                  • D den2k88

                                    So you should know that VB6 is single thread. Each window, timer, event is processed sequentially.

                                    GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                                    F Offline
                                    F Offline
                                    F ES Sitecore
                                    wrote on last edited by
                                    #21

                                    I just created a WinForm app in .net, put a button with the click event taking 5 seconds to complete. When I click the button the GUI is non-responsive so I guess .net is single-threaded too.

                                    1 Reply Last reply
                                    0
                                    • F F ES Sitecore

                                      My comments are not opinion though, I've been involved in many complex, high-performance enterprise applications built on VB6.

                                      CPalliniC Online
                                      CPalliniC Online
                                      CPallini
                                      wrote on last edited by
                                      #22

                                      Quote:

                                      high-performance enterprise applications built on VB6

                                      I agree that can be done (and top developers did). My comment applies to the (original) language name ('beginners' is there). Then one might discuss on the mass of mediocre developers attracted by VB6, but that's just another topic.

                                      In testa che avete, signor di Ceprano?

                                      F 1 Reply Last reply
                                      0
                                      • CPalliniC CPallini

                                        Quote:

                                        high-performance enterprise applications built on VB6

                                        I agree that can be done (and top developers did). My comment applies to the (original) language name ('beginners' is there). Then one might discuss on the mass of mediocre developers attracted by VB6, but that's just another topic.

                                        F Offline
                                        F Offline
                                        F ES Sitecore
                                        wrote on last edited by
                                        #23

                                        CPallini wrote:

                                        Then one might discuss on the mass of mediocre developers attracted by VB6

                                        Would love to talk about that but I'm busy in QA helping the mass of mediocre developers attracted by c#.

                                        CPalliniC 1 Reply Last reply
                                        0
                                        • F F ES Sitecore

                                          glennPattonWork wrote:

                                          BASIC was seen as the go to language for kids in my day I started with BBC Basic and C came with the Amiga... I was a little shocked to find BASIC being used in the wild...

                                          That's just ignorance I'm afraid. Before .net, VB6 was the only real solution for Enterprise apps, and there was nothing wrong with using it. Almost all enterprise solutions from houses that used an MS stack ran on VB6. The fact that "B" stands for "BASIC" and you think "BASIC is for kids" is simply your opinion, it isn't reality.

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

                                          The B does not stand for BASIC, but for "BEGINNERS". With C++ and Delphi there were enough alternatives. VB6 was Access on steroids. VB.NET is born from that. --edit Who in their right mind would risc the existence of their enterprise by allowing VB-code?

                                          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                                          G F K 3 Replies 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