Results 1 to 3 of 3
  1. #1
    startop10 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    1

    View Created date and time for key in Registry

    Thank you for your interest
    Explanation:
    This code displays the date and time of creation of file
    MsgBox FileDateTime ("C: \ WINDOWS \ Fonts \ BARCOD39.TTF")



    How to be writing the correct code follows:
    MsgBox FileDateTime ("HKLM \ SOFTWARE \ adobe \ dlm \ Logging_level")
    How do we displays the date and time of creation of key in Registry ?
    Please help me

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    WHY?

    my first thought is that you're using trial software for free, and want to continue.

  3. #3
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    Quote Originally Posted by ajetrumpet
    WHY?

    my first thought is that you're using trial software for free, and want to continue.
    lol! Actually, this would be more of a diagnostic functionality than that. I can see it being used to identify registry keys associated with a particular Virus/Malware application and such. . .

    To the OP: The Registry doesn't store creation timestamps for Registry keys. The closest you can get is looking at the Last Access using the API call RegQueryInfoKey(). Note that you can't get timestamps of any kind for Registry VALUES, only for Keys.

    P.S.
    I'm not sure how to implement the API call in Access VBA properly. I've only done some basic API stuff so far, and even that was mostly cut-n-paste from code I found on the interwebs.

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

Similar Threads

  1. Replies: 6
    Last Post: 01-04-2011, 05:43 PM
  2. Query Design View Takes a Long Time to Open
    By jackthedog in forum Queries
    Replies: 0
    Last Post: 12-22-2009, 03:27 PM
  3. Date + Time = Date Time
    By TundraMonkey in forum Access
    Replies: 3
    Last Post: 07-02-2009, 09:30 PM
  4. Replies: 2
    Last Post: 06-17-2009, 09:50 PM
  5. Access Date/Time....I need a "generic" date.
    By beastmaster in forum Access
    Replies: 2
    Last Post: 12-29-2005, 12:55 PM

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