Results 1 to 5 of 5
  1. #1
    mroshdy is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    May 2017
    Posts
    3

    Get CPUID programmatically

    How to get CPUID programmatically in MS access?

    Thank you very much.

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    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

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I found this http://www.ozgrid.com/forum/showthread.php?t=62635

    Post #6

    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
    Need to verify results somehow........

  4. #4
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    FYI: In most motherboards, it is possible to turn off access to the Serial numbers.

  5. #5
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,421
    Another option might be to get the HDD serial number. Google it.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Loading a OLE field programmatically
    By josekreif in forum Programming
    Replies: 4
    Last Post: 03-08-2016, 05:24 PM
  2. Programmatically get data from SNP file?
    By mattheweston in forum Programming
    Replies: 4
    Last Post: 08-14-2013, 08:35 AM
  3. How to Create New record programmatically
    By ganeshvenkatram in forum Access
    Replies: 1
    Last Post: 07-07-2011, 09:32 AM
  4. How to Programmatically Press a Key
    By Osman in forum Access
    Replies: 5
    Last Post: 11-28-2010, 11:07 AM
  5. Programmatically create a ACCDE
    By srbond@hotmail.com in forum Programming
    Replies: 2
    Last Post: 11-18-2010, 08:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums