VBScript or VB.Net?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?U3lzdGVtcyBBZG1pbg==?=

    #1

    VBScript or VB.Net?

    Hi All,

    I need to write a program/script that gathers some data from Windows
    systems, compare it with SQL Database and update if it's changed.

    My question is what should i use? VBScript or VB.Net?

    Here is my background..
    I am a systems administrator.
    I have experience with: C, C++, Visual C++, VBScript
    I know little bit about: VB 6.0, Java
    I don't know anything about: dotNet (but would like
    to learn :) )

    I am sure that i can do my task with VBScript.
    But since this is not going to be a small script/program, should i go with
    more powerful language like VB.Net even though i don't know much about it?
    Based on my experience, do you think i should go with VB.Net? or just stick
    to VBScript?


    Thank you all for your help.
  • jvb

    #2
    Re: VBScript or VB.Net?

    IMHO the best way to learn is to do, depending on the size of your app
    and the deadline, use .NET, with your experience in C++, it shouldn't
    be too hard for you to pick up the .NET concepts.

    On Jan 25, 11:21 am, Systems Admin <Systems
    A...@discussion s.microsoft.com wrote:
    Hi All,
    >
    I need to write a program/script that gathers some data from Windows
    systems, compare it with SQL Database and update if it's changed.
    >
    My question is what should i use? VBScript or VB.Net?
    >
    Here is my background..
    I am a systems administrator.
    I have experience with: C, C++, Visual C++, VBScript
    I know little bit about: VB 6.0, Java
    I don't know anything about: dotNet (but would like
    to learn :) )
    >
    I am sure that i can do my task with VBScript.
    But since this is not going to be a small script/program, should i go with
    more powerful language like VB.Net even though i don't know much about it?
    Based on my experience, do you think i should go with VB.Net? or just stick
    to VBScript?
    >
    Thank you all for your help.

    Comment

    • Branco Medeiros

      #3
      Re: VBScript or VB.Net?

      Systems Admin wrote:
      <snip>
      I need to write a program/script that gathers some data from Windows
      systems, compare it with SQL Database and update if it's changed.
      <snip>
      I am sure that i can do my task with VBScript.
      But since this is not going to be a small script/program, should i go with
      more powerful language like VB.Net even though i don't know much about it?
      <snip>

      VB.Net (2005), no doubt. Just take a little time to understand the
      differences between VBScript and VB.Net, then launch VB 2005 Express
      (the free editor/environment for VB.Net) and have fun.

      HTH.

      Regards,

      Branco.

      Comment

      • Spam Catcher

        #4
        Re: VBScript or VB.Net?

        =?Utf-8?B?U3lzdGVtcyB BZG1pbg==?= <Systems
        Admin@discussio ns.microsoft.co mwrote in
        news:E0855640-98B5-46BF-9E4E-88BA0BBFDC7A@mi crosoft.com:
        Hi All,
        >
        I need to write a program/script that gathers some data from Windows
        systems, compare it with SQL Database and update if it's changed.
        >
        My question is what should i use? VBScript or VB.Net?
        >
        Here is my background..
        I am a systems administrator.
        I have experience with: C, C++, Visual C++, VBScript
        I know little bit about: VB 6.0, Java
        I don't know anything about: dotNet (but would
        like to learn :) )
        >
        I am sure that i can do my task with VBScript.
        Yes, you can access databases via ADO.
        But since this is not going to be a small script/program, should i go
        with more powerful language like VB.Net even though i don't know much
        about it? Based on my experience, do you think i should go with
        VB.Net? or just stick to VBScript?
        If the app is complex, definately go with a real programming langauge.

        But ... VB.NET is NOT VB or VBScript. Syntax maybe similar, but it's
        concepts are OO like Java/C++. Seeing that you have Java experience and
        C++, you should be fine.

        If you're more comfortable in Java or C++, .NET also supports these
        languages in VS.NET.

        Comment

        • =?Utf-8?B?U3lzdGVtcyBBZG1pbg==?=

          #5
          Re: VBScript or VB.Net?

          jvb, Branco

          Thank you both for your reply.
          Just so that i am more clear on my task... This program will run unattended
          on a system as a regular interval, it will gather information about the
          system than use some logic to get it organize and than compare with SQL
          Database and update as it requires. I am not planning on creating any GUI
          with this program.
          Can this be done with VB.Net? Would it be easier for “non-Dot Net Expert”
          like me?

          Branco,
          Great point on getting started with “VB 2005 Express Edition”. I already
          have that installed. What's the best next step for me to get started with VB
          2005? Is there any book or web resource that you can recommend? I am not
          planning to be an expert on vb.net, i just need some quick reference to get
          started on this task.

          jvb,
          i could not agree more with you. The only way to learn is by doing it.


          Thanks again for your help.


          "Branco Medeiros" wrote:
          Systems Admin wrote:
          <snip>
          I need to write a program/script that gathers some data from Windows
          systems, compare it with SQL Database and update if it's changed.
          <snip>
          I am sure that i can do my task with VBScript.
          But since this is not going to be a small script/program, should i go with
          more powerful language like VB.Net even though i don't know much about it?
          <snip>
          >
          VB.Net (2005), no doubt. Just take a little time to understand the
          differences between VBScript and VB.Net, then launch VB 2005 Express
          (the free editor/environment for VB.Net) and have fun.
          >
          HTH.
          >
          Regards,
          >
          Branco.
          >
          >

          Comment

          • RobinS

            #6
            Re: VBScript or VB.Net?

            For general learning of VB2005, check out Tim Patrick's "Start-to-Finish
            VB2005".

            Another good book is "VB2005: The Language" by Francesco Balena, but it
            only
            covers the language, not the forms or the data access, and I wouldn't
            recommend
            it if you didn't do any programming at all. But you should be able to
            figure it out
            if you're coming from VBScript.

            Robin S.
            --------------------------------------------------------
            "Systems Admin" <SystemsAdmin@d iscussions.micr osoft.comwrote in
            message news:2EC042B7-B8EA-449E-9131-01C035C5B41E@mi crosoft.com...
            jvb, Branco
            >
            Thank you both for your reply.
            Just so that i am more clear on my task... This program will run
            unattended
            on a system as a regular interval, it will gather information about
            the
            system than use some logic to get it organize and than compare with
            SQL
            Database and update as it requires. I am not planning on creating any
            GUI
            with this program.
            Can this be done with VB.Net? Would it be easier for "non-Dot Net
            Expert"
            like me?
            >
            Branco,
            Great point on getting started with "VB 2005 Express Edition". I
            already
            have that installed. What's the best next step for me to get started
            with VB
            2005? Is there any book or web resource that you can recommend? I am
            not
            planning to be an expert on vb.net, i just need some quick reference
            to get
            started on this task.
            >
            jvb,
            i could not agree more with you. The only way to learn is by doing it.
            >
            >
            Thanks again for your help.
            >
            >
            "Branco Medeiros" wrote:
            >
            >Systems Admin wrote:
            ><snip>
            I need to write a program/script that gathers some data from
            Windows
            systems, compare it with SQL Database and update if it's changed.
            ><snip>
            I am sure that i can do my task with VBScript.
            But since this is not going to be a small script/program, should i
            go with
            more powerful language like VB.Net even though i don't know much
            about it?
            ><snip>
            >>
            >VB.Net (2005), no doubt. Just take a little time to understand the
            >differences between VBScript and VB.Net, then launch VB 2005 Express
            >(the free editor/environment for VB.Net) and have fun.
            >>
            >HTH.
            >>
            >Regards,
            >>
            >Branco.
            >>
            >>

            Comment

            • Larro91@gmail.com

              #7
              Re: VBScript or VB.Net?

              On Jan 25, 4:35 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
              For general learning of VB2005, check out Tim Patrick's "Start-to-Finish
              VB2005".
              >
              Another good book is "VB2005: The Language" by Francesco Balena, but it
              only
              covers the language, not the forms or the data access, and I wouldn't
              recommend
              it if you didn't do any programming at all. But you should be able to
              figure it out
              if you're coming fromVBScript.
              >
              Robin S.
              --------------------------------------------------------
              "Systems Admin" <SystemsAd...@d iscussions.micr osoft.comwrote in
              messagenews:2EC 042B7-B8EA-449E-9131-01C035C5B41E@mi crosoft.com...
              >
              >
              >
              jvb, Branco
              >
              Thank you both for your reply.
              Just so that i am more clear on my task... This program will run
              unattended
              on a system as a regular interval, it will gather information about
              the
              system than use some logic to get it organize and than compare with
              SQL
              Database and update as it requires. I am not planning on creating any
              GUI
              with this program.
              Can this be done with VB.Net? Would it be easier for "non-Dot Net
              Expert"
              like me?
              >
              Branco,
              Great point on getting started with "VB 2005 Express Edition". I
              already
              have that installed. What's the best next step for me to get started
              with VB
              2005? Is there any book or web resource that you can recommend? I am
              not
              planning to be an expert on vb.net, i just need some quick reference
              to get
              started on this task.
              >
              jvb,
              i could not agree more with you. The only way to learn is by doing it.
              >
              Thanks again for your help.
              >
              "Branco Medeiros" wrote:
              >
              Systems Admin wrote:
              <snip>
              I need to write a program/script that gathers some data from
              Windows
              systems, compare it with SQL Database and update if it's changed.
              <snip>
              I am sure that i can do my task withVBScript.
              But since this is not going to be a small script/program, should i
              go with
              more powerful language like VB.Net even though i don't know much
              about it?
              <snip>
              >
              VB.Net (2005), no doubt. Just take a little time to understand the
              differences betweenVBScript and VB.Net, then launch VB 2005 Express
              (the free editor/environment for VB.Net) and have fun.
              >
              HTH.
              >
              Regards,
              >
              Branco.- Hide quoted text -
              >
              - Show quoted text -
              I am currently in a class learning VB.NET and ASP.NET. Working with
              the script I wrote I have been able to get 90% of it up and running
              it's just the permissions things that's killing me. I have researched
              it but when you start playing with permissions the information kinda
              tapers off as far as explainations.

              Update I got around the permissions in Exchange. I had them add that
              particular account directly to the store so we don't have to add it to
              the individual accounts. But I am faced with the task of setting
              permissions on folders now. In my old script I called xcacls.exe and
              set permissions on the new users home folder. In all honesty I can
              still do it that way I was just really trying to get away from using
              other tools in my program if I could help it but I'm not going to
              dwell on it if the subject is to technical for me.

              Thanks again for all the help.

              Comment

              • RobinS

                #8
                Re: VBScript or VB.Net?


                <Larro91@gmail. comwrote in message
                news:1171635270 .205222.265410@ a75g2000cwd.goo glegroups.com.. .
                On Jan 25, 4:35 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
                >For general learning of VB2005, check out Tim Patrick's "Start-to-Finish
                >VB2005".
                >>
                >Another good book is "VB2005: The Language" by Francesco Balena, but it
                >only
                >covers the language, not the forms or the data access, and I wouldn't
                >recommend
                >it if you didn't do any programming at all. But you should be able to
                >figure it out
                >if you're coming fromVBScript.
                >>
                >Robin S.
                >--------------------------------------------------------
                >"Systems Admin" <SystemsAd...@d iscussions.micr osoft.comwrote in
                >messagenews:2E C042B7-B8EA-449E-9131-01C035C5B41E@mi crosoft.com...
                >>
                >>
                >>
                jvb, Branco
                >>
                Thank you both for your reply.
                Just so that i am more clear on my task... This program will run
                unattended
                on a system as a regular interval, it will gather information about
                the
                system than use some logic to get it organize and than compare with
                SQL
                Database and update as it requires. I am not planning on creating any
                GUI
                with this program.
                Can this be done with VB.Net? Would it be easier for "non-Dot Net
                Expert"
                like me?
                >>
                Branco,
                Great point on getting started with "VB 2005 Express Edition". I
                already
                have that installed. What's the best next step for me to get started
                with VB
                2005? Is there any book or web resource that you can recommend? I am
                not
                planning to be an expert on vb.net, i just need some quick reference
                to get
                started on this task.
                >>
                jvb,
                i could not agree more with you. The only way to learn is by doing it.
                >>
                Thanks again for your help.
                >>
                "Branco Medeiros" wrote:
                >>
                >Systems Admin wrote:
                ><snip>
                I need to write a program/script that gathers some data from
                Windows
                systems, compare it with SQL Database and update if it's changed.
                ><snip>
                I am sure that i can do my task withVBScript.
                But since this is not going to be a small script/program, should i
                go with
                more powerful language like VB.Net even though i don't know much
                about it?
                ><snip>
                >>
                >VB.Net (2005), no doubt. Just take a little time to understand the
                >differences betweenVBScript and VB.Net, then launch VB 2005 Express
                >(the free editor/environment for VB.Net) and have fun.
                >>
                >HTH.
                >>
                >Regards,
                >>
                >Branco.- Hide quoted text -
                >>
                >- Show quoted text -
                >
                I am currently in a class learning VB.NET and ASP.NET. Working with
                the script I wrote I have been able to get 90% of it up and running
                it's just the permissions things that's killing me. I have researched
                it but when you start playing with permissions the information kinda
                tapers off as far as explainations.
                >
                Update I got around the permissions in Exchange. I had them add that
                particular account directly to the store so we don't have to add it to
                the individual accounts. But I am faced with the task of setting
                permissions on folders now. In my old script I called xcacls.exe and
                set permissions on the new users home folder. In all honesty I can
                still do it that way I was just really trying to get away from using
                other tools in my program if I could help it but I'm not going to
                dwell on it if the subject is to technical for me.
                >
                Thanks again for all the help.
                >
                I don't know how to fix your problem. you could try posting it to the ASP
                group since it's an ASP question. I think it's
                microsoft.publi c.dotnet.framew ork.aspnet.

                Good luck.

                Robin S.


                Comment

                • pfc_sadr@hotmail.com

                  #9
                  Re: VBScript or VB.Net?

                  if you want to run this as a SQL job; you would need to use VbScript






                  On Jan 25, 10:31 am, Systems Admin
                  <SystemsAd...@d iscussions.micr osoft.comwrote:
                  jvb, Branco
                  >
                  Thank you both for your reply.
                  Just so that i am more clear on my task... This program will run unattended
                  on a system as a regular interval, it will gather information about the
                  system than use some logic to get it organize and than compare with SQL
                  Database and update as it requires. I am not planning on creating any GUI
                  with this program.
                  Can this be done with VB.Net? Would it be easier for "non-Dot Net Expert"
                  like me?
                  >
                  Branco,
                  Great point on getting started with "VB 2005 Express Edition". I already
                  have that installed. What's the best next step for me to get started with VB
                  2005? Is there any book or web resource that you can recommend? I am not
                  planning to be an expert on vb.net, i just need some quick reference to get
                  started on this task.
                  >
                  jvb,
                  i could not agree more with you. The only way to learn is by doing it.
                  >
                  Thanks again for your help.
                  >
                  "Branco Medeiros" wrote:
                  Systems Admin wrote:
                  <snip>
                  I need to write a program/script that gathers some data from Windows
                  systems, compare it with SQL Database and update if it's changed.
                  <snip>
                  I am sure that i can do my task with VBScript.
                  But since this is not going to be a small script/program, should i go with
                  more powerful language like VB.Net even though i don't know much about it?
                  <snip>
                  >
                  VB.Net (2005), no doubt. Just take a little time to understand the
                  differences between VBScript and VB.Net, then launch VB 2005 Express
                  (the free editor/environment for VB.Net) and have fun.
                  >
                  HTH.
                  >
                  Regards,
                  >
                  Branco.

                  Comment

                  Working...