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. I got a job! But...

I got a job! But...

Scheduled Pinned Locked Moved The Lounge
csharphelpquestioncareer
21 Posts 10 Posters 3 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.
  • R Offline
    R Offline
    Rakesh Rajan
    wrote on last edited by
    #1

    I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan

    E D O N G 6 Replies Last reply
    0
    • R Rakesh Rajan

      I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan

      E Offline
      E Offline
      Erick Sgarbi
      wrote on last edited by
      #2

      The biggest problem i found was the lack of VB.NET knowledge on small things...It took me a while to find out adressOf operator to refer to references :mad: also the CType for casting...really sucks... I think there is a webservice somewhere as a webservice though however it should not take long for you to get the hang of it. :-D Cheers, Erick

      D 1 Reply Last reply
      0
      • R Rakesh Rajan

        I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan

        D Offline
        D Offline
        Daniel Turini
        wrote on last edited by
        #3

        Rakesh Rajan wrote: Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. My latest article was an inverse conversor, because I wanted to raise the average quality of the code.


        "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

        R 1 Reply Last reply
        0
        • R Rakesh Rajan

          I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan

          O Offline
          O Offline
          Okeno Palmer
          wrote on last edited by
          #4

          Spend about a week reading and you'll be fine. Just be prepared for a little more typing :) ..:: Keno ::..

          J 1 Reply Last reply
          0
          • O Okeno Palmer

            Spend about a week reading and you'll be fine. Just be prepared for a little more typing :) ..:: Keno ::..

            J Offline
            J Offline
            joinme
            wrote on last edited by
            #5

            Man...u mean VB.NET requires more code (I mean letters) then C#?

            D O N 3 Replies Last reply
            0
            • J joinme

              Man...u mean VB.NET requires more code (I mean letters) then C#?

              D Offline
              D Offline
              Daniel Turini
              wrote on last edited by
              #6

              what about...

              If x = 3 Then
              Console.WriteLine("True")
              End If

              and

              if (x == 3)
              Console.WriteLine("True")


              "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

              1 Reply Last reply
              0
              • J joinme

                Man...u mean VB.NET requires more code (I mean letters) then C#?

                O Offline
                O Offline
                Okeno Palmer
                wrote on last edited by
                #7

                lol ... yeah but intellisense may save u some of that with auto complete .:. Keno .:.

                1 Reply Last reply
                0
                • D Daniel Turini

                  Rakesh Rajan wrote: Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. My latest article was an inverse conversor, because I wanted to raise the average quality of the code.


                  "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

                  R Offline
                  R Offline
                  Rakesh Rajan
                  wrote on last edited by
                  #8

                  What do u mean by an inverse conversor...link plz... Rakesh Rajan

                  D 1 Reply Last reply
                  0
                  • R Rakesh Rajan

                    What do u mean by an inverse conversor...link plz... Rakesh Rajan

                    D Offline
                    D Offline
                    Daniel Turini
                    wrote on last edited by
                    #9

                    GBVB - Converting VB.NET code to C# I hope it helps, although it assumes some knowledge from both VB.NET and C#. But you'll quickly get VB.NET, although it has an ugly syntax, it's not harder to code than C#. The main problem will be with VB.NET programmers: that'll bring you headaches, specially if they came from VB 6.


                    "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

                    1 Reply Last reply
                    0
                    • E Erick Sgarbi

                      The biggest problem i found was the lack of VB.NET knowledge on small things...It took me a while to find out adressOf operator to refer to references :mad: also the CType for casting...really sucks... I think there is a webservice somewhere as a webservice though however it should not take long for you to get the hang of it. :-D Cheers, Erick

                      D Offline
                      D Offline
                      Daniel Turini
                      wrote on last edited by
                      #10

                      Erick Sgarbi wrote: also the CType for casting...really sucks... It's worse: most people do not know when to use CType and when to use DirectCast, nor the huge performance difference.


                      "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

                      E I 2 Replies Last reply
                      0
                      • D Daniel Turini

                        Erick Sgarbi wrote: also the CType for casting...really sucks... It's worse: most people do not know when to use CType and when to use DirectCast, nor the huge performance difference.


                        "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

                        E Offline
                        E Offline
                        Erick Sgarbi
                        wrote on last edited by
                        #11

                        Daniel Turini wrote: It's worse: most people do not know when to use CType and when to use DirectCast, nor the huge performance difference. Tell me about it!!!!

                        1 Reply Last reply
                        0
                        • D Daniel Turini

                          Erick Sgarbi wrote: also the CType for casting...really sucks... It's worse: most people do not know when to use CType and when to use DirectCast, nor the huge performance difference.


                          "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

                          I Offline
                          I Offline
                          Ian Darling
                          wrote on last edited by
                          #12

                          I didn't even know about DirectCast - it's not mentioned in any of the examples in MSDN where typecasting is performed AFAIK However, I do grok the usage now I'm aware of it, so ta for letting me know :-) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

                          D 1 Reply Last reply
                          0
                          • R Rakesh Rajan

                            I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan

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

                            Glad to hear this Rakesh :-) I am sure that they'll be quite happy with your performace. BTW is this a company in Trivandrum? And since you can choose the language perhaps you can insist on using C#. And convince the others to dump VB.NET for C# Good luck anyway, Rakesh. Regards Nish


                            Extending MFC Applications with the .NET Framework [NW] (coming soon...) Summer Love and Some more Cricket [NW] (My first novel) Shog's review of SLASMC [NW] Come with me if you want to live

                            R 1 Reply Last reply
                            0
                            • J joinme

                              Man...u mean VB.NET requires more code (I mean letters) then C#?

                              N Offline
                              N Offline
                              netclectic
                              wrote on last edited by
                              #14

                              COBOL.Net probably uses less code then VB.Net ;)

                              1 Reply Last reply
                              0
                              • I Ian Darling

                                I didn't even know about DirectCast - it's not mentioned in any of the examples in MSDN where typecasting is performed AFAIK However, I do grok the usage now I'm aware of it, so ta for letting me know :-) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

                                D Offline
                                D Offline
                                Daniel Turini
                                wrote on last edited by
                                #15

                                Now, for our next VB lesson: AndAlso and OrElse The difference between \ and / The difference between a Collection and an ArrayList WTF is WriteOnly The difference between Dim, Erase and Redim. How to declare a Char constant (not a one-char string constant!). How to declare an inline Array. "aBBBa" Like "a*a" is true, what about "aBBBa" Like "a**a"? Explain it. Now, the graduation work: Find a good use for a Static function.


                                "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

                                I 1 Reply Last reply
                                0
                                • R Rakesh Rajan

                                  I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan

                                  G Offline
                                  G Offline
                                  GwwDiehl
                                  wrote on last edited by
                                  #16

                                  ;);)This is just a suggestion from a Fortran->c->Vbasic prpgrammer (new to vb.net) Staret with vb6 projects/code and then see how those projects are translated up to vb.net (MS code adds the necessary stuff). Good Luck!!! G Diehl

                                  1 Reply Last reply
                                  0
                                  • D Daniel Turini

                                    Now, for our next VB lesson: AndAlso and OrElse The difference between \ and / The difference between a Collection and an ArrayList WTF is WriteOnly The difference between Dim, Erase and Redim. How to declare a Char constant (not a one-char string constant!). How to declare an inline Array. "aBBBa" Like "a*a" is true, what about "aBBBa" Like "a**a"? Explain it. Now, the graduation work: Find a good use for a Static function.


                                    "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

                                    I Offline
                                    I Offline
                                    Ian Darling
                                    wrote on last edited by
                                    #17

                                    Daniel Turini wrote: Find a good use for a Static function. In VB.NET? You have Shared functions (similar to C++ static in that they are class methods that do not require object instances), and Static variables (handy for maintaining state within a function without allowing access to that state outside the scope of that function), but there tain't no Static Functions in VB.NET. VB6, OTOH, did have Static Functions, and you used them when you were lazy and wanted to declare all your variables in the function as Static, but couldn't be arsed (IIRC). I would suspect a good use for this might be found when programming finite state machines. Not being iffy about this, but I hope that your post was intended as a joke :-) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

                                    D 1 Reply Last reply
                                    0
                                    • I Ian Darling

                                      Daniel Turini wrote: Find a good use for a Static function. In VB.NET? You have Shared functions (similar to C++ static in that they are class methods that do not require object instances), and Static variables (handy for maintaining state within a function without allowing access to that state outside the scope of that function), but there tain't no Static Functions in VB.NET. VB6, OTOH, did have Static Functions, and you used them when you were lazy and wanted to declare all your variables in the function as Static, but couldn't be arsed (IIRC). I would suspect a good use for this might be found when programming finite state machines. Not being iffy about this, but I hope that your post was intended as a joke :-) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

                                      D Offline
                                      D Offline
                                      Daniel Turini
                                      wrote on last edited by
                                      #18

                                      Yes, I was just joking AndAlso pointing some VB.NET niceties :)


                                      "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

                                      I 1 Reply Last reply
                                      0
                                      • D Daniel Turini

                                        Yes, I was just joking AndAlso pointing some VB.NET niceties :)


                                        "If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.

                                        I Offline
                                        I Offline
                                        Ian Darling
                                        wrote on last edited by
                                        #19

                                        :-D I was very glad when short circuit operators and the = {} array initialisation notation turned up in VB.NET :-) It made my life considerably easier (as did being able to use as in for loops e.g for i as integer = 0 to 9 in 2K3!) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

                                        1 Reply Last reply
                                        0
                                        • R Rakesh Rajan

                                          I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan

                                          M Offline
                                          M Offline
                                          Member 96
                                          wrote on last edited by
                                          #20

                                          Rakesh Rajan wrote: Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning I recently had to understand some VB.NET source code and I program in C# so I just compiled the VB.NET and then reverse engineered it using Anakrino[^] to c# code to fully understand it. The reverse is also possible. Downside: - You lose the variable names, but it was very useful in understanding the syntax differences. Upside: - It works extremely well and it easy to use and seems to be the only (or at least most popular) reverse compiler for .Net

                                          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