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. "Every dog has its day. And VB got its way today"

"Every dog has its day. And VB got its way today"

Scheduled Pinned Locked Moved The Lounge
csharpcsswinformscom
26 Posts 12 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.
  • V Vasudevan Deepak Kumar

    I think there are only user-contributions: VB Like InputBox for MFC[^]

    Vasudevan Deepak Kumar Personal Homepage
    Tech Gossips
    The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

    N Offline
    N Offline
    Nish Nishant
    wrote on last edited by
    #10

    This one seems to be even better! :rolleyes: CInputBox 1.0[^]

    Regards, Nish


    My technology blog: voidnish.wordpress.com

    C 1 Reply Last reply
    0
    • N Nish Nishant

      Rajesh R Subramanian wrote:

      Years ago, I've used, re-used and abused that InputBox thing you wrote and published. :laugh:

      I didn't want to mention it since I wrote that so long ago and today I bet the code would seem rather crappy to me :-O

      Rajesh R Subramanian wrote:

      But MFC does have CEdit which serves good. And there's there's CRichEdit for the greedy ones.

      True!

      Regards, Nish


      My technology blog: voidnish.wordpress.com

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

      Nish Sivakumar wrote:

      I didn't want to mention it since I wrote that so long ago and today I bet the code would seem rather crappy to me :O

      That's several years ago, so let that guilt of bad code not kill you. :) But then I was using it for quick and nasty things, and later evolved writing my own nasty code better and sophisticated controls.

      "Real men drive manual transmission" - Rajesh.

      1 Reply Last reply
      0
      • N Nish Nishant

        This one seems to be even better! :rolleyes: CInputBox 1.0[^]

        Regards, Nish


        My technology blog: voidnish.wordpress.com

        C Offline
        C Offline
        Colin Mullikin
        wrote on last edited by
        #12

        Have you no shame, man!! :laugh:

        The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

        N 1 Reply Last reply
        0
        • V Vasudevan Deepak Kumar

          We normally look down VB (and hence VB.NET) because of its innumerous shortcomings. Today I had to make a quick utility to work on a export format. Though I started the 10-minute tool as a console application, in less than 30 minutes, I wanted a bit of small extensions like putting up a small inputbox. If I had to convert the entire 10 line app to Windows forms it would have been a long work. Fortunately, the quickly and nifty

          Microsoft.Visualbasic

          lended a helping hand with its 'Interaction.Inputbox' and a few other methods. Thank you, VB. :)

          Vasudevan Deepak Kumar Personal Homepage
          Tech Gossips
          The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

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

          Vasudevan Deepak Kumar wrote:

          If I had to convert the entire 10 line app to Windows forms it would have been a long work.

          "The fault, dear Brutus, is not in our stars, But in ourselves, that we are underlings." Marc

          Latest Article: C# and Ruby Classes: A Deep Dive
          My Blog

          1 Reply Last reply
          0
          • V Vasudevan Deepak Kumar

            We normally look down VB (and hence VB.NET) because of its innumerous shortcomings. Today I had to make a quick utility to work on a export format. Though I started the 10-minute tool as a console application, in less than 30 minutes, I wanted a bit of small extensions like putting up a small inputbox. If I had to convert the entire 10 line app to Windows forms it would have been a long work. Fortunately, the quickly and nifty

            Microsoft.Visualbasic

            lended a helping hand with its 'Interaction.Inputbox' and a few other methods. Thank you, VB. :)

            Vasudevan Deepak Kumar Personal Homepage
            Tech Gossips
            The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

            A Offline
            A Offline
            Andrew Rissing
            wrote on last edited by
            #14

            Using forms programmatically woudn't have been too hard honestly....

            var f = new Form();
            var t = new TextBox() { Dock = DockStyle.Fill };

            f.Controls.Add(t);
            f.Controls.Add(new Label() { Dock = DockStyle.Left, Text = "Give me input: " });
            f.ShowDialog();
            /* Insert code here to grab the t.Text value */

            V 1 Reply Last reply
            0
            • R Rajesh R Subramanian

              What do you mean, "at the moment"? MFC was soooo 20 years ago[^] dude. :)

              "Real men drive manual transmission" - Rajesh.

              D Offline
              D Offline
              Dave Calkins
              wrote on last edited by
              #15

              That's a great one :) Despite each new fad coming in as the next big thing then being promptly dropped good old MFC/C++ is still going strong.

              R 1 Reply Last reply
              0
              • A Andrew Rissing

                Using forms programmatically woudn't have been too hard honestly....

                var f = new Form();
                var t = new TextBox() { Dock = DockStyle.Fill };

                f.Controls.Add(t);
                f.Controls.Add(new Label() { Dock = DockStyle.Left, Text = "Give me input: " });
                f.ShowDialog();
                /* Insert code here to grab the t.Text value */

                V Offline
                V Offline
                Vasudevan Deepak Kumar
                wrote on last edited by
                #16

                Interesting. Thanks Andrew for the snippet.

                Vasudevan Deepak Kumar Personal Homepage
                Tech Gossips
                The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                1 Reply Last reply
                0
                • D Dave Calkins

                  That's a great one :) Despite each new fad coming in as the next big thing then being promptly dropped good old MFC/C++ is still going strong.

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

                  Stayed up making some unavoidable and necessary changes to some rickety old, but excellently written C code. Or in a word, Joy. Jon done, so I'm off to bed. G'nite. :)

                  "Real men drive manual transmission" - Rajesh.

                  1 Reply Last reply
                  0
                  • C Colin Mullikin

                    Have you no shame, man!! :laugh:

                    The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #18

                    Apparently not! ;P

                    Regards, Nish


                    My technology blog: voidnish.wordpress.com

                    1 Reply Last reply
                    0
                    • V Vasudevan Deepak Kumar

                      We normally look down VB (and hence VB.NET) because of its innumerous shortcomings. Today I had to make a quick utility to work on a export format. Though I started the 10-minute tool as a console application, in less than 30 minutes, I wanted a bit of small extensions like putting up a small inputbox. If I had to convert the entire 10 line app to Windows forms it would have been a long work. Fortunately, the quickly and nifty

                      Microsoft.Visualbasic

                      lended a helping hand with its 'Interaction.Inputbox' and a few other methods. Thank you, VB. :)

                      Vasudevan Deepak Kumar Personal Homepage
                      Tech Gossips
                      The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                      S Offline
                      S Offline
                      Septimus Hedgehog
                      wrote on last edited by
                      #19

                      Sorry to hear that. I can't mark you down 50,000 points but for for cussing at all of us by using VB you deserve nothing less. :-D

                      If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

                      V 1 Reply Last reply
                      0
                      • S Septimus Hedgehog

                        Sorry to hear that. I can't mark you down 50,000 points but for for cussing at all of us by using VB you deserve nothing less. :-D

                        If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

                        V Offline
                        V Offline
                        Vasudevan Deepak Kumar
                        wrote on last edited by
                        #20

                        :)

                        Vasudevan Deepak Kumar Personal Homepage
                        Tech Gossips
                        The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                        1 Reply Last reply
                        0
                        • V Vasudevan Deepak Kumar

                          We normally look down VB (and hence VB.NET) because of its innumerous shortcomings. Today I had to make a quick utility to work on a export format. Though I started the 10-minute tool as a console application, in less than 30 minutes, I wanted a bit of small extensions like putting up a small inputbox. If I had to convert the entire 10 line app to Windows forms it would have been a long work. Fortunately, the quickly and nifty

                          Microsoft.Visualbasic

                          lended a helping hand with its 'Interaction.Inputbox' and a few other methods. Thank you, VB. :)

                          Vasudevan Deepak Kumar Personal Homepage
                          Tech Gossips
                          The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

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

                          VB is fine. Everybody makes WAY too big a deal out of this!

                          D C M 4 Replies Last reply
                          0
                          • C ClockMeister

                            VB is fine. Everybody makes WAY too big a deal out of this!

                            D Offline
                            D Offline
                            DaveP62
                            wrote on last edited by
                            #22

                            CodeBubba wrote:

                            VB is fine. Everybody makes WAY too big a deal out of this!

                            +10 Agree! .NET = .NET

                            1 Reply Last reply
                            0
                            • C ClockMeister

                              VB is fine. Everybody makes WAY too big a deal out of this!

                              C Offline
                              C Offline
                              cabowaboaddict
                              wrote on last edited by
                              #23

                              VB.Net has its place. Contrary to popular opinion, it is great for some things. :)

                              Cabowaboaddict

                              1 Reply Last reply
                              0
                              • C ClockMeister

                                VB is fine. Everybody makes WAY too big a deal out of this!

                                C Offline
                                C Offline
                                cabowaboaddict
                                wrote on last edited by
                                #24

                                VB.Net has its place. Contrary to popular opinion, it is great for some things.:thumbsup:

                                CWA

                                C 1 Reply Last reply
                                0
                                • C cabowaboaddict

                                  VB.Net has its place. Contrary to popular opinion, it is great for some things.:thumbsup:

                                  CWA

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

                                  I write mostly in C# now but VB is fine. It will get the job done just as well. These religious arguments over language exist to give us something to do. If you prefer VB then use it! :)

                                  1 Reply Last reply
                                  0
                                  • C ClockMeister

                                    VB is fine. Everybody makes WAY too big a deal out of this!

                                    M Offline
                                    M Offline
                                    marsman_CA
                                    wrote on last edited by
                                    #26

                                    Absolutely agree. Bunch of MAC vs. PC BS (that's a metaphor)... just get the job done. I just wasted five minutes commenting on this.

                                    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