Results 1 to 4 of 4

Thread: find computer speed

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2001
    Posts
    42

    Red face find computer speed

    is it possible to find the computer speed using vb ?

    also i need to find the ram of the machine.

  2. #2
    jim mcnamara
    Guest
    Memory:

    http://www.mvps.org/vbnet/code/system/globalmemory.htm

    Several of us have posted various versions of cpuspeed.dll

    This thread has one discussion

    http://www.vbforums.com/showthread.p...light=cpuspeed

    This one has a .dll attached:
    http://www.vbforums.com/showthread.p...light=cpuspeed

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Use WMI - installed with Me,2K,XP, can be added to others.

    VB Code:
    1. Set cpus = GetObject("winmgmts:").InstancesOf("Win32_Processor")
    2.     For Each cpu In cpus
    3.         MsgBox cpu.MaxClockSpeed
    4.     Next

    You can get all sorts of hardware and software info with this. It's really cool.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  4. #4
    jim mcnamara
    Guest
    WMI does work easily - but we had problems with it on some Win9X systems. So I had to work around it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width