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. For the first time ever

For the first time ever

Scheduled Pinned Locked Moved The Lounge
csharp
54 Posts 30 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.
  • S Slacker007

    I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.

    Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
    "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

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

    Step 0: Write application in C# Step 1: Go Here[^] Step 3: chill.

    MVVM# - See how I did MVVM my way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

    1 Reply Last reply
    0
    • S Slacker007

      Nagy Vilmos wrote:

      Now turn to bossman and tell him vb.net and c# are the same hippy-sh*t and you'd prefer to use c#.

      I did. No go. I had/have no say in the matter this time. It is a high priority rewrite and I was not asked my opinion. I'm sure we have all been there a few thousand times. :sigh:

      Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
      "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

      realJSOPR Online
      realJSOPR Online
      realJSOP
      wrote on last edited by
      #11

      What was it written in originally?

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

      S 1 Reply Last reply
      0
      • realJSOPR realJSOP

        What was it written in originally?

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

        S Offline
        S Offline
        Slacker007
        wrote on last edited by
        #12

        Borland C++ Builder (Builder version 5). Very old app.

        Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
        "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

        realJSOPR 1 Reply Last reply
        0
        • S Slacker007

          I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.

          Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
          "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

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

          I think that's great - you will learn a new language just like that! My advice is never create a Module, use OOP the way you do in C#, don't use ANY Basic commands that only exist for historical reasons (don't even learn about them). I believe those of us who know both VB.NET and C# have the advantage... ;) Edit: Oh, and use Option Strict ON

          It’s not because things are difficult that we do not dare, it’s because we do not dare that things are difficult. ~Seneca

          S N V S P 5 Replies Last reply
          0
          • S Slacker007

            Borland C++ Builder (Builder version 5). Very old app.

            Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
            "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

            realJSOPR Online
            realJSOPR Online
            realJSOP
            wrote on last edited by
            #14

            What is everything else in your shop written in (as far as .Net is concerned), and did your boss say WHY he wanted it in VB?

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

            S 1 Reply Last reply
            0
            • realJSOPR realJSOP

              What is everything else in your shop written in (as far as .Net is concerned), and did your boss say WHY he wanted it in VB?

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

              S Offline
              S Offline
              Slacker007
              wrote on last edited by
              #15

              John Simmons / outlaw programmer wrote:

              What is everything else in your shop written in (as far as .Net is concerned), and did your boss say WHY he wanted it in VB?

              Borland C++, C#, and the guy who wrote the app I am going to help rewrite, only codes now in VB.Net. He is a senior programmer/manager and my boss deferred preference to him.

              Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
              "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

              A M 2 Replies Last reply
              0
              • L Lost User

                I think that's great - you will learn a new language just like that! My advice is never create a Module, use OOP the way you do in C#, don't use ANY Basic commands that only exist for historical reasons (don't even learn about them). I believe those of us who know both VB.NET and C# have the advantage... ;) Edit: Oh, and use Option Strict ON

                It’s not because things are difficult that we do not dare, it’s because we do not dare that things are difficult. ~Seneca

                S Offline
                S Offline
                Slacker007
                wrote on last edited by
                #16

                Thanks for the advice and the reply. I am going to do my best to remain positive about this experience.

                Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                A 1 Reply Last reply
                0
                • L Lost User

                  I think that's great - you will learn a new language just like that! My advice is never create a Module, use OOP the way you do in C#, don't use ANY Basic commands that only exist for historical reasons (don't even learn about them). I believe those of us who know both VB.NET and C# have the advantage... ;) Edit: Oh, and use Option Strict ON

                  It’s not because things are difficult that we do not dare, it’s because we do not dare that things are difficult. ~Seneca

                  N Offline
                  N Offline
                  NormDroid
                  wrote on last edited by
                  #17

                  AnnieMacD wrote:

                  Edit: Oh, and use Option Strict ON

                  And add On Error Resume :laugh:

                  Software Kinetics Wear a hard hat it's under construction
                  Metro RSS

                  S 1 Reply Last reply
                  0
                  • S Slacker007

                    John Simmons / outlaw programmer wrote:

                    What is everything else in your shop written in (as far as .Net is concerned), and did your boss say WHY he wanted it in VB?

                    Borland C++, C#, and the guy who wrote the app I am going to help rewrite, only codes now in VB.Net. He is a senior programmer/manager and my boss deferred preference to him.

                    Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                    "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                    A Offline
                    A Offline
                    Alberto Bar Noy
                    wrote on last edited by
                    #18

                    From C++ to VB.NET ... He is getting ready for retirement?

                    Alberto Bar-Noy --------------- “The city’s central computer told you? R2D2, you know better than to trust a strange computer!” (C3PO)

                    S 1 Reply Last reply
                    0
                    • S Slacker007

                      Thanks for the advice and the reply. I am going to do my best to remain positive about this experience.

                      Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                      "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                      A Offline
                      A Offline
                      Alberto Bar Noy
                      wrote on last edited by
                      #19

                      Slacker007 wrote:

                      I am going to do my best to remain positive about this experience.

                      I think that train is lost already :laugh:

                      Alberto Bar-Noy --------------- “The city’s central computer told you? R2D2, you know better than to trust a strange computer!” (C3PO)

                      1 Reply Last reply
                      0
                      • A Alberto Bar Noy

                        From C++ to VB.NET ... He is getting ready for retirement?

                        Alberto Bar-Noy --------------- “The city’s central computer told you? R2D2, you know better than to trust a strange computer!” (C3PO)

                        S Offline
                        S Offline
                        Slacker007
                        wrote on last edited by
                        #20

                        Alberto Bar-Noy wrote:

                        He is getting ready for retirement?

                        Funny you mention that. He has been with the company for 27 years. :)

                        Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                        "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                        N F 2 Replies Last reply
                        0
                        • N NormDroid

                          AnnieMacD wrote:

                          Edit: Oh, and use Option Strict ON

                          And add On Error Resume :laugh:

                          Software Kinetics Wear a hard hat it's under construction
                          Metro RSS

                          S Offline
                          S Offline
                          Slacker007
                          wrote on last edited by
                          #21

                          I thought it was On Error goto ShootSelfInHead

                          Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                          "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                          1 Reply Last reply
                          0
                          • S Slacker007

                            Alberto Bar-Noy wrote:

                            He is getting ready for retirement?

                            Funny you mention that. He has been with the company for 27 years. :)

                            Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                            "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                            N Offline
                            N Offline
                            Nagy Vilmos
                            wrote on last edited by
                            #22

                            Unless the senior dev is sleeping with MD, justifying a choice like that by "I only know VB.net" is tountermount to admitting he's not up to the job. If he's really "senior" then he should be able to adapt. Go for the flame-thrower - he moves or it's time for crispy fries. :suss:


                            Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                            1 Reply Last reply
                            0
                            • S Slacker007

                              I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.

                              Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                              "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

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

                              I spent a year writing in VB.net; it gave me an ulcer.

                              /optionexplicit
                              /optionstrict
                              /optioninfer-

                              1 Reply Last reply
                              0
                              • S Slacker007

                                I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.

                                Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                                "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

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

                                It could have been worse. Just be happy that it is VB .NET and not VB6! :)

                                "Real men drive manual transmission" - Rajesh.

                                S 1 Reply Last reply
                                0
                                • R Rajesh R Subramanian

                                  It could have been worse. Just be happy that it is VB .NET and not VB6! :)

                                  "Real men drive manual transmission" - Rajesh.

                                  S Offline
                                  S Offline
                                  Slacker007
                                  wrote on last edited by
                                  #25

                                  Rajesh R Subramanian wrote:

                                  It could have been worse.

                                  very true. I don't like to jump on the anti vb wagon; I really don't...to each their own. It's just that now, I know why so many people go :omg: :wtf: did I just get myself into when they have to work with it. When all is said and done, I have a job to do. I will do my best, maybe learn something, and hopefully call it a day. :)

                                  Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                                  "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                                  S 1 Reply Last reply
                                  0
                                  • S Slacker007

                                    Nagy Vilmos wrote:

                                    Now turn to bossman and tell him vb.net and c# are the same hippy-sh*t and you'd prefer to use c#.

                                    I did. No go. I had/have no say in the matter this time. It is a high priority rewrite and I was not asked my opinion. I'm sure we have all been there a few thousand times. :sigh:

                                    Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                                    "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                                    C Offline
                                    C Offline
                                    CPallini
                                    wrote on last edited by
                                    #26

                                    [The Boss] Please, please, don't tell me that again, go back and do events! [/The Boss].

                                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                                    [My articles]

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      I think that's great - you will learn a new language just like that! My advice is never create a Module, use OOP the way you do in C#, don't use ANY Basic commands that only exist for historical reasons (don't even learn about them). I believe those of us who know both VB.NET and C# have the advantage... ;) Edit: Oh, and use Option Strict ON

                                      It’s not because things are difficult that we do not dare, it’s because we do not dare that things are difficult. ~Seneca

                                      V Offline
                                      V Offline
                                      Vark111
                                      wrote on last edited by
                                      #27

                                      AnnieMacD wrote:

                                      don't use ANY Basic commands that only exist for historical reasons

                                      Easiest way to do this: Go into the Project settings, References, and remove the reference to the Microsoft.VisualBasic namespace and DLL.

                                      S 1 Reply Last reply
                                      0
                                      • L Lost User

                                        I think that's great - you will learn a new language just like that! My advice is never create a Module, use OOP the way you do in C#, don't use ANY Basic commands that only exist for historical reasons (don't even learn about them). I believe those of us who know both VB.NET and C# have the advantage... ;) Edit: Oh, and use Option Strict ON

                                        It’s not because things are difficult that we do not dare, it’s because we do not dare that things are difficult. ~Seneca

                                        S Offline
                                        S Offline
                                        Simon_Whale
                                        wrote on last edited by
                                        #28

                                        the only time to use a module is for extension methods as sadly you cant do it any other way.

                                        Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

                                        1 Reply Last reply
                                        0
                                        • S Slacker007

                                          Rajesh R Subramanian wrote:

                                          It could have been worse.

                                          very true. I don't like to jump on the anti vb wagon; I really don't...to each their own. It's just that now, I know why so many people go :omg: :wtf: did I just get myself into when they have to work with it. When all is said and done, I have a job to do. I will do my best, maybe learn something, and hopefully call it a day. :)

                                          Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                                          "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                                          S Offline
                                          S Offline
                                          Simon_Whale
                                          wrote on last edited by
                                          #29

                                          The commas is the biggest thing that I keep forget when switching between the two languages

                                          Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

                                          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