Vb6 - READ

Discussion in 'Software' started by mastermosley, Dec 12, 2006.

  1. mastermosley

    mastermosley Sergeant

    Ok I no visual basic 6 is a little outdated but my computer with its little 2.4Ghz celeron processor cant handle vb.net, lags like mad. Anyway if someone could answer the question below it would be appreciated.

    I no it would probably be better to use a lower level programming language but the only language I no is vb6.

    I want to get processor information like what fsb, what its currently clocked at, the frequency. ect? is there anyway I can do this?
     
  2. mastermosley

    mastermosley Sergeant

    Also I have another question, is there away to get the current speed of your connection to the internet?
     
  3. RubbeR DuckY

    RubbeR DuckY Private E-2

    Hey there, sorry for the delay. Look into

    Private Declare Function NtQuerySystemInformation Lib "ntdll" (ByVal dwInfoType As Long, ByVal lpStructure As Long, ByVal dwSize As Long, ByVal dwReserved As Long) As Long

    And the SYSTEM_BASIC_INFORMATION structure. That will get you at least the clock speed and the current usage.

    As for the name of the processor, query this value.

    HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0|ProcessorNameString

    To get bandwidth speed is a bit harder. Look it up on PlanetSourceCode, they have a ton of examples.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds