Finding System info

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    Finding System info

    Can any one help me out finding out some sys info like system name,ip address,os version etc using VB6.0 code or is there any perticular API for this perpose.
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Originally posted by debasisdas
    Can any one help me out finding out some sys info like system name,ip address,os version etc using VB6.0 code or is there any perticular API for this perpose.
    Go to Project | Components and select Microsoft SysIfno Control.

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      can u please tell me how to use with a code snippet

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by debasisdas
        can u please tell me how to use with a code snippet
        I haven't used it. I'd suggest you just add one to a blank form and write some sample code, somewhere like the Form_Click event, to display the various properties from it. That way you'll develop a feel for what sort of information it provides.

        Assuming you have the appropriate option turned on, as soon as you type the control name in your code followed by a full-stop, VB should show you a list of all the properties.

        Comment

        • debasisdas
          Recognized Expert Expert
          • Dec 2006
          • 8119

          #5
          i have tried all the properties and methods
          but it does not return any required information

          if u have any genuine info/solution regarding my query please pass on to me

          ok i will try somthing else

          n by the way i am not new to vb6.0

          any way thanx for your suggestion

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Originally posted by debasisdas
            i have tried all the properties and methods
            but it does not return any required information

            if u have any genuine info/solution regarding my query please pass on to me

            ok i will try somthing else
            Try this link. It may help. Or this one at Microsoft sounds quite good.

            Originally posted by debasisdas
            n by the way i am not new to vb6.0
            Sorry, it's often hard to tell from just a message or two, so we sometimes go into more detail than necessary.

            Comment

            • debasisdas
              Recognized Expert Expert
              • Dec 2006
              • 8119

              #7
              Thanx for th info/link passed by u
              its really useful n i got what i was exactly looking for.

              Comment

              Working...