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. Seven Steps to Improving Your VB Code

Seven Steps to Improving Your VB Code

Scheduled Pinned Locked Moved The Lounge
csharpc++comquestion
42 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.
  • E ednrgc

    Clickety[^] Why isn't #1 convert it to C++/C#? :confused::laugh:

    P Offline
    P Offline
    PIEBALDconsult
    wrote on last edited by
    #2

    That wouldn't be much of an article.

    1 Reply Last reply
    0
    • E ednrgc

      Clickety[^] Why isn't #1 convert it to C++/C#? :confused::laugh:

      M Offline
      M Offline
      Marc Clifton
      wrote on last edited by
      #3

      Those are good seven steps for any language, not just VB! Though #1 (normalize the UI) is amusing because I can always tell a VB app because of the funky colors, large fonts, and odd UI. Marc

      Thyme In The Country
      Interacx
      My Blog

      D R P B 4 Replies Last reply
      0
      • M Marc Clifton

        Those are good seven steps for any language, not just VB! Though #1 (normalize the UI) is amusing because I can always tell a VB app because of the funky colors, large fonts, and odd UI. Marc

        Thyme In The Country
        Interacx
        My Blog

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #4

        Only because of the noob wrote wrote it. I've seen junk just as bad in C# apps...

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007

        S 1 Reply Last reply
        0
        • D Dave Kreskowiak

          Only because of the noob wrote wrote it. I've seen junk just as bad in C# apps...

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007

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

          C# is the new VB. The so-called VB.NET is just for... you know, handicapped folk. People whose keyboards are missing semicolons and curly braces.

          every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

          D L 2 Replies Last reply
          0
          • M Marc Clifton

            Those are good seven steps for any language, not just VB! Though #1 (normalize the UI) is amusing because I can always tell a VB app because of the funky colors, large fonts, and odd UI. Marc

            Thyme In The Country
            Interacx
            My Blog

            R Offline
            R Offline
            Rama Krishna Vavilala
            wrote on last edited by
            #6

            Ok Let's play the game: VB or .NET or Win Forms or WTL or MFC? The UI is at the following location: Screenshot

            Co-Author ASP.NET AJAX in Action

            M S M R L 7 Replies Last reply
            0
            • R Rama Krishna Vavilala

              Ok Let's play the game: VB or .NET or Win Forms or WTL or MFC? The UI is at the following location: Screenshot

              Co-Author ASP.NET AJAX in Action

              M Offline
              M Offline
              Miszou
              wrote on last edited by
              #7

              Windows XP


              Sunrise Wallpaper Project | The StartPage Randomizer | A Random Web Page

              R 1 Reply Last reply
              0
              • R Rama Krishna Vavilala

                Ok Let's play the game: VB or .NET or Win Forms or WTL or MFC? The UI is at the following location: Screenshot

                Co-Author ASP.NET AJAX in Action

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

                Heh. Nice one, Rama... With the possible exception of the tree, every control in that shot is custom. :)

                every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                R 1 Reply Last reply
                0
                • M Miszou

                  Windows XP


                  Sunrise Wallpaper Project | The StartPage Randomizer | A Random Web Page

                  R Offline
                  R Offline
                  Rama Krishna Vavilala
                  wrote on last edited by
                  #9

                  Nope:) You got that incorrect too! It was Windows Server 2003:)

                  Co-Author ASP.NET AJAX in Action

                  S 1 Reply Last reply
                  0
                  • R Rama Krishna Vavilala

                    Nope:) You got that incorrect too! It was Windows Server 2003:)

                    Co-Author ASP.NET AJAX in Action

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

                    Luna on 2k3? Eww!

                    every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                    R 1 Reply Last reply
                    0
                    • R Rama Krishna Vavilala

                      Ok Let's play the game: VB or .NET or Win Forms or WTL or MFC? The UI is at the following location: Screenshot

                      Co-Author ASP.NET AJAX in Action

                      M Offline
                      M Offline
                      Marc Clifton
                      wrote on last edited by
                      #11

                      None of the above. :) Looks like you're using a DevExpress or Infragistics suite. (OK, that makes it .NET. But probably VB with a 3rd party control suite). Marc

                      Thyme In The Country
                      Interacx
                      My Blog

                      R 1 Reply Last reply
                      0
                      • S Shog9 0

                        C# is the new VB. The so-called VB.NET is just for... you know, handicapped folk. People whose keyboards are missing semicolons and curly braces.

                        every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                        D Offline
                        D Offline
                        Douglas Troy
                        wrote on last edited by
                        #12

                        Shog9 wrote:

                        you know, handicapped folk

                        Shog, that's SO not PC ... they're Line Terminated Challenged or Bracketed Dysfunctional ... ... and I'm fairly certain there are a bunch of Pharmaceutical companies that have a "cure" in the form of large, brightly colored pills ... ;P


                        :..::. Douglas H. Troy ::..
                        Bad Astronomy |VCF|wxWidgets|WTL

                        1 Reply Last reply
                        0
                        • R Rama Krishna Vavilala

                          Ok Let's play the game: VB or .NET or Win Forms or WTL or MFC? The UI is at the following location: Screenshot

                          Co-Author ASP.NET AJAX in Action

                          R Offline
                          R Offline
                          Rajesh R Subramanian
                          wrote on last edited by
                          #13

                          Rama Krishna Vavilala wrote:

                          VB or .NET or Win Forms or WTL or MFC?

                          Photoshop? :rolleyes:


                          Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->ßRÅhmmÃ<-·´¯`·.

                          R 1 Reply Last reply
                          0
                          • S Shog9 0

                            Luna on 2k3? Eww!

                            every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                            R Offline
                            R Offline
                            Rama Krishna Vavilala
                            wrote on last edited by
                            #14

                            Is something wrong? It's a test machine used to test Client and server.

                            Co-Author ASP.NET AJAX in Action

                            S 1 Reply Last reply
                            0
                            • E ednrgc

                              Clickety[^] Why isn't #1 convert it to C++/C#? :confused::laugh:

                              R Offline
                              R Offline
                              Russell
                              wrote on last edited by
                              #15

                              Step #0 switch ON th Pc and put on the desktop a big cup of coffe. ;P


                              Russell

                              1 Reply Last reply
                              0
                              • M Marc Clifton

                                Those are good seven steps for any language, not just VB! Though #1 (normalize the UI) is amusing because I can always tell a VB app because of the funky colors, large fonts, and odd UI. Marc

                                Thyme In The Country
                                Interacx
                                My Blog

                                P Offline
                                P Offline
                                Phil Harding
                                wrote on last edited by
                                #16

                                Marc Clifton wrote:

                                I can always tell a VB app because of the funky colors, large fonts, and odd UI

                                Yeah, it seems the same for Delphi too, why is that I wonder :confused:


                                - "I'm not lying, I'm just writing fiction with my mouth"

                                Phil Harding.
                                myBlog [^] | mySite [^]

                                D 1 Reply Last reply
                                0
                                • S Shog9 0

                                  Heh. Nice one, Rama... With the possible exception of the tree, every control in that shot is custom. :)

                                  every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                                  R Offline
                                  R Offline
                                  Rama Krishna Vavilala
                                  wrote on last edited by
                                  #17

                                  Here is another which has your favorite UI technology (Same app) Screenshot2

                                  Co-Author ASP.NET AJAX in Action

                                  S 1 Reply Last reply
                                  0
                                  • P Phil Harding

                                    Marc Clifton wrote:

                                    I can always tell a VB app because of the funky colors, large fonts, and odd UI

                                    Yeah, it seems the same for Delphi too, why is that I wonder :confused:


                                    - "I'm not lying, I'm just writing fiction with my mouth"

                                    Phil Harding.
                                    myBlog [^] | mySite [^]

                                    D Offline
                                    D Offline
                                    Dan Neely
                                    wrote on last edited by
                                    #18

                                    Phil Harding wrote:

                                    Yeah, it seems the same for Delphi too, why is that I wonder

                                    That's a diffent issue than VB's anti-design patterns. With borland tools you have the fact that Borland was convinced they could make better controls than MS, as a result most (all?) of their 'standard' controls are custom not win32 basic constructs. As a result they always function subtlety different than standard.

                                    -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

                                    R J 2 Replies Last reply
                                    0
                                    • M Marc Clifton

                                      None of the above. :) Looks like you're using a DevExpress or Infragistics suite. (OK, that makes it .NET. But probably VB with a 3rd party control suite). Marc

                                      Thyme In The Country
                                      Interacx
                                      My Blog

                                      R Offline
                                      R Offline
                                      Rama Krishna Vavilala
                                      wrote on last edited by
                                      #19

                                      The correct answer is All of The Above:) 1. The main window tree view the MDI tabs all are C++/MFC. Uses CodeJock Library. 2. The top window "Bat Template" is actually a VB6 Control that hosts a WTL Tabs Control (custom built). All of these hosted as an ActiveX control in an MFC CView. 3. The bottom Grid is .NET Winforms DataGridView derived class written in C# hosted in an MFC CView derived class written in C++/CLI.

                                      Co-Author ASP.NET AJAX in Action

                                      M 1 Reply Last reply
                                      0
                                      • D Dan Neely

                                        Phil Harding wrote:

                                        Yeah, it seems the same for Delphi too, why is that I wonder

                                        That's a diffent issue than VB's anti-design patterns. With borland tools you have the fact that Borland was convinced they could make better controls than MS, as a result most (all?) of their 'standard' controls are custom not win32 basic constructs. As a result they always function subtlety different than standard.

                                        -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

                                        R Offline
                                        R Offline
                                        Rama Krishna Vavilala
                                        wrote on last edited by
                                        #20

                                        Even all the VB controls are not standard Win32 controls.

                                        Co-Author ASP.NET AJAX in Action

                                        1 Reply Last reply
                                        0
                                        • R Rama Krishna Vavilala

                                          Is something wrong? It's a test machine used to test Client and server.

                                          Co-Author ASP.NET AJAX in Action

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

                                          I just dislike the way that theme looks, and wouldn't bother going out of my way to enable it. :)

                                          every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                                          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