Getting Hardware information in a pc

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ananth
    New Member
    • Nov 2006
    • 75

    Getting Hardware information in a pc

    Hi all,
    I have a form which has a button in it.on button click it should generate the list of hardwares installed in a pc and store these values in a string values.
    how can it be done ,Kindly suggest me some websites or codes that will be more helpfull for my project completion.

    Thanks in Advance
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    #2
    Originally posted by ananth
    Hi all,
    I have a form which has a button in it.on button click it should generate the list of hardwares installed in a pc and store these values in a string values.
    how can it be done ,Kindly suggest me some websites or codes that will be more helpfull for my project completion.

    Thanks in Advance
    Hi there,

    Heard about WMI (Windows Management Instrumentation ) before? Check it out for WMI at MSDN. Which OS are you currently using? Windows XP comes bundled with WMI. WMI enables hardware as well as software enumeration on local as well as remote systems. Hope you get an idea to get started with. Good luck & Take care.

    Comment

    • ananth
      New Member
      • Nov 2006
      • 75

      #3
      Hi Mr Sashi,
      I have heard about WMI but the problem is this has to be done without using it.(ie it should contain class module and other Bak files that looks into the registry for the list of installed hardware and those BAS files should be called in a button click.

      Pls help me regarding this .


      Originally posted by sashi
      Hi there,

      Heard about WMI (Windows Management Instrumentation ) before? Check it out for WMI at MSDN. Which OS are you currently using? Windows XP comes bundled with WMI. WMI enables hardware as well as software enumeration on local as well as remote systems. Hope you get an idea to get started with. Good luck & Take care.

      Comment

      • sashi
        Recognized Expert Top Contributor
        • Jun 2006
        • 1749

        #4
        Originally posted by ananth
        Hi Mr Sashi,
        I have heard about WMI but the problem is this has to be done without using it.(ie it should contain class module and other Bak files that looks into the registry for the list of installed hardware and those BAS files should be called in a button click.

        Pls help me regarding this .
        Hi there,

        In that case i think you need to identify the exact registry key / hive to look for hardware details stored. Am sure that these details must be stored somewhere in the registry, the only thing that matters in the location i.e the proper registry sub key. Good luck & Take care.

        Comment

        • ananth
          New Member
          • Nov 2006
          • 75

          #5
          Hi Mr.Sashi,
          Thanks for your information,but how can it be done is there any websites or codes that is available to see how it can be done.

          Thanks in Advance.

          Originally posted by sashi
          Hi there,

          In that case i think you need to identify the exact registry key / hive to look for hardware details stored. Am sure that these details must be stored somewhere in the registry, the only thing that matters in the location i.e the proper registry sub key. Good luck & Take care.

          Comment

          • aaryan
            New Member
            • Nov 2006
            • 82

            #6
            Originally posted by ananth
            Hi all,
            I have a form which has a button in it.on button click it should generate the list of hardwares installed in a pc and store these values in a string values.
            how can it be done ,Kindly suggest me some websites or codes that will be more helpfull for my project completion.

            Thanks in Advance
            ananth,
            i am also having the same problem and can you please pass on the code once you succeed. i will also do the same.
            thanks

            Comment

            • sashi
              Recognized Expert Top Contributor
              • Jun 2006
              • 1749

              #7
              Originally posted by ananth
              Hi Mr.Sashi,
              Thanks for your information,but how can it be done is there any websites or codes that is available to see how it can be done.

              Thanks in Advance.
              Hi there,

              I think you should be able to extract some basic details, i.e. processor usage, swap memory usage, disk space (used & available), disk serial number & so on from registry. Please check in google, hope it helps. Good luck & Take care.

              Comment

              • ananth
                New Member
                • Nov 2006
                • 75

                #8
                Originally posted by aaryan
                ananth,
                i am also having the same problem and can you please pass on the code once you succeed. i will also do the same.
                thanks

                Hi Aryan,
                I have found a site that solves the problem for both check this one

                http://www.karenware.c om/powertools/ptprofiler.asp

                Comment

                • aaryan
                  New Member
                  • Nov 2006
                  • 82

                  #9
                  Originally posted by ananth
                  Hi Aryan,
                  I have found a site that solves the problem for both check this one

                  http://www.karenware.c om/powertools/ptprofiler.asp
                  thank you ananth, i will check out on that.

                  Comment

                  • sashi
                    Recognized Expert Top Contributor
                    • Jun 2006
                    • 1749

                    #10
                    Originally posted by ananth
                    Hi Aryan,
                    I have found a site that solves the problem for both check this one

                    http://www.karenware.com/powertools/ptprofiler.asp
                    Hi there,

                    I've checked the link you posted above, it works fine on my pc. It's an application, this thread is all about writing code to retrieve hardware information. Good luck & Take care.

                    Comment

                    Working...