|
-
Nov 11th, 2000, 03:27 AM
#1
Thread Starter
Member
Hi,
in my utility, i would like to get many low-level system info:motherboard, AGP, PCI, processor(frequency,stepping,..)
,and many more...But I think it doesn´t API, which can I use for this. How can I get these infos ?
Thanks much!
-
Nov 11th, 2000, 05:47 AM
#2
Frenzied Member
Motherboard information and other low level stuff can noet be accessed through VB. You will need a C++ or ASM DLL to call from VB to access those stuff. To get Number of processors type of processor you can use this
Code:
Public Declare Sub GetSystemInfo Lib "kernel32" (lpSystemInfo As SYSTEM_INFO)
Public Type SYSTEM_INFO
dwOemID As Long
dwPageSize As Long
lpMinimumApplicationAddress As Long
lpMaximumApplicationAddress As Long
dwActiveProcessorMask As Long
dwNumberOrfProcessors As Long
dwProcessorType As Long
dwAllocationGranularity As Long
dwReserved As Long
End Type
Public si As SYSTEM_INFO
GetSystemInfo si
Debug.Print = si.dwProcessorType
'use other properties to access other stuff
-
Nov 11th, 2000, 01:31 PM
#3
If that code is to go in a Form, replace Public with Private.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|