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. You know you're day's not off to a good start when...

You know you're day's not off to a good start when...

Scheduled Pinned Locked Moved The Lounge
csharpcomcareer
12 Posts 7 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 Sathesh Sakthivel

    Nick Seng wrote:

    I think I need more coffee

    I had the coffee just now. so i dont need another one now.

    Regards, Satips.:rose:

    N Offline
    N Offline
    Nick Seng
    wrote on last edited by
    #3

    Ummm .... I'm happy for you?


    You can't stop the signal

    1 Reply Last reply
    0
    • N Nick Seng

      You've been working at your new job using VB.Net for months now and you think you've gotten used to the weird syntax. And then this morning, you type the following codes if ((var1 == 0) && (var2 == 1)) and then scream at the compiler for a minute because it won't compile... *sigh* I think I need more coffee.:zzz:


      You can't stop the signal

      R Offline
      R Offline
      RoswellNX
      wrote on last edited by
      #4

      Not having worked with VB enough to remember much of it, i doubt i have much (if any) say on that subject, but i can't tell what the problem would be since i can't see the variable declaration, or in what context this was used and what type of a variable this it...could be a string, a character or a boolean...could be missing quotes:sigh: Roswell

      "Angelinos -- excuse me. There will be civility today."
      Antonio VillaRaigosa
      City Mayor, Los Angeles, CA

      N 1 Reply Last reply
      0
      • R RoswellNX

        Not having worked with VB enough to remember much of it, i doubt i have much (if any) say on that subject, but i can't tell what the problem would be since i can't see the variable declaration, or in what context this was used and what type of a variable this it...could be a string, a character or a boolean...could be missing quotes:sigh: Roswell

        "Angelinos -- excuse me. There will be civility today."
        Antonio VillaRaigosa
        City Mayor, Los Angeles, CA

        N Offline
        N Offline
        Nick Seng
        wrote on last edited by
        #5

        The problem was that I was using C# syntax in VB.Net code.:doh: Like I said ... not enough coffee this morning.


        You can't stop the signal

        R 1 Reply Last reply
        0
        • N Nick Seng

          The problem was that I was using C# syntax in VB.Net code.:doh: Like I said ... not enough coffee this morning.


          You can't stop the signal

          R Offline
          R Offline
          RoswellNX
          wrote on last edited by
          #6

          it does look like C#, but i had nothing to compare that to since i've avoided VB for the most part:laugh: Roswell

          "Angelinos -- excuse me. There will be civility today."
          Antonio VillaRaigosa
          City Mayor, Los Angeles, CA

          N 1 Reply Last reply
          0
          • R RoswellNX

            it does look like C#, but i had nothing to compare that to since i've avoided VB for the most part:laugh: Roswell

            "Angelinos -- excuse me. There will be civility today."
            Antonio VillaRaigosa
            City Mayor, Los Angeles, CA

            N Offline
            N Offline
            Nick Seng
            wrote on last edited by
            #7

            Lucky you.:sigh:


            You can't stop the signal

            1 Reply Last reply
            0
            • N Nick Seng

              You've been working at your new job using VB.Net for months now and you think you've gotten used to the weird syntax. And then this morning, you type the following codes if ((var1 == 0) && (var2 == 1)) and then scream at the compiler for a minute because it won't compile... *sigh* I think I need more coffee.:zzz:


              You can't stop the signal

              J Offline
              J Offline
              Josh Smith
              wrote on last edited by
              #8

              Nick Seng wrote:

              You've been working at your new job using VB.Net for months now

              I have?! AAAAAAAAAAHHHHHHHHHHHHHH!!!!!!!! HELP!!!! :((

              :josh: My WPF Blog[^] FYI - Bob is a scarecrow who keeps Chuck Norris away from CodeProject.

              1 Reply Last reply
              0
              • N Nick Seng

                You've been working at your new job using VB.Net for months now and you think you've gotten used to the weird syntax. And then this morning, you type the following codes if ((var1 == 0) && (var2 == 1)) and then scream at the compiler for a minute because it won't compile... *sigh* I think I need more coffee.:zzz:


                You can't stop the signal

                D Offline
                D Offline
                DJ van Wyk
                wrote on last edited by
                #9

                Just the fact of coding in VB would be a bad start to any day.

                1 Reply Last reply
                0
                • N Nick Seng

                  You've been working at your new job using VB.Net for months now and you think you've gotten used to the weird syntax. And then this morning, you type the following codes if ((var1 == 0) && (var2 == 1)) and then scream at the compiler for a minute because it won't compile... *sigh* I think I need more coffee.:zzz:


                  You can't stop the signal

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

                  I guess in VB.NET you use explicit 'and', 'or' instead of symbolic notations like '&&', '||'. Isn't it?

                  Vasudevan Deepak Kumar Personal Homepage Tech Gossips

                  N 1 Reply Last reply
                  0
                  • V Vasudevan Deepak Kumar

                    I guess in VB.NET you use explicit 'and', 'or' instead of symbolic notations like '&&', '||'. Isn't it?

                    Vasudevan Deepak Kumar Personal Homepage Tech Gossips

                    N Offline
                    N Offline
                    Nick Seng
                    wrote on last edited by
                    #11

                    Yeah. And you use = instead of == to compare for equality.


                    You can't stop the signal

                    J 1 Reply Last reply
                    0
                    • N Nick Seng

                      Yeah. And you use = instead of == to compare for equality.


                      You can't stop the signal

                      J Offline
                      J Offline
                      Jasmine2501
                      wrote on last edited by
                      #12

                      Gawd I hate that! How do you know when it's an assignment or a comparison? How the hell does the compiler figure that out? I do this all the time.... varbool = var1 == var2; In VB, this would be... varbool = var1 = var2; ... which has a completely different meaning in both languages. Screwey.

                      "Quality Software since 1983!"
                      http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles.

                      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