Results 1 to 4 of 4

Thread: How to display CPU speed with VB?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2001
    Location
    Great White North, ey?
    Posts
    202

    How to display CPU speed with VB?

    Does anyone know any simple API declariations to display the processor speed in like a text box or a label? It doesn't even have to be updated, just the total speed.

    Thanks.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Using VB, you can only get the CPU speed if the OS is NT...

    http://www.mvps.org/vbnet/index.html...systeminfo.htm

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Dec 2001
    Location
    Great White North, ey?
    Posts
    202

    Unhappy

    Oh, ok. Thanks anyways. I don't see why it has to be NT but oh well, guess I'll have to find another way.

  4. #4
    Hyperactive Member Cmdr0Sunburn's Avatar
    Join Date
    May 2001
    Location
    g0t r00t?
    Posts
    461
    i know a way to get the cpus speed, however, it isnt in vb its assembly. i can code a dll that you can use in vb if u want, just pm me if your interested.
    I know a lot oF Vb, expert in C++, and i think in assembly.
    MSVC++6.NET
    vb6
    masm
    Windowz Xp
    I find my self using this a lot in C++

    __asm {
    }

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