How to get CPUID programmatically in MS access?
Thank you very much.
How to get CPUID programmatically in MS access?
Thank you very much.
Not sure but it may be one of the Environ("xxx") values. See here for a list
http://www.utteraccess.com/forum/Env...t-t693880.html
I found this http://www.ozgrid.com/forum/showthread.php?t=62635
Post #6
Need to verify results somehow........Code:Sub ProcessorInfo() Dim cimv2, PInfo, PItem ' no idea what to declare these as Dim PubStrComputer As String PubStrComputer = "." Set cimv2 = GetObject("winmgmts:\\" & PubStrComputer & "\root\cimv2") Set PInfo = cimv2.ExecQuery("Select * From Win32_Processor") For Each PItem In PInfo Debug.Print ("Processor: " & PItem.Name & vbCrLf & "Id: " & PItem.ProcessorId) '<<--I added this line MsgBox ("Processor: " & PItem.Name & vbCrLf & "Id: " & PItem.ProcessorId) Next PItem End Sub
FYI: In most motherboards, it is possible to turn off access to the Serial numbers.
Boyd Trimmell aka Hitechcoach
Database Architect and Problem Solver
Microsoft MVP - Access Expert
25+ years specializing in Accounting, Inventory, and CRM systems
"If technology doesn't work for people, then it doesn't work."
Another option might be to get the HDD serial number. Google it.