Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Posts
    172

    Unanswered: registry/vba question

    this is more of a windows question - but I will need it for a couple of projects I am working on

    I want to know, if I log in and use regedit to see the hkey current users settings, and I log out and back in as Administrator or another user, am I correct that the hkey current user will only show the logged in user profile (such as stored in user.dat)?

    I want to save some registry keys for specific users for some Access and Word automation utilities.

    So I would like to know if there is any way to open up the registry for a particular user to set the keys for that user, or do I need to use a adm or ops policy template to auto-load when that user logs on?

    Long story short - can hkey current user only be set by VBA when logged onto that machine? Or am I missing something that is easier?

    Again, I don't need a how-to on using VBA or setting certain properties. I am deploying an administrative solution and I want the client to use my program and not have to run ork tools separately.

    For example, I want to install some Word templates and set the workgroup folder setting in the registry, if it is not set (by default).

    Thanks in advance.

    Joe G

  2. #2
    Join Date
    Feb 2004
    Posts
    199
    use HKEY_USRS node instead of HKEY_CURRENT_USER
    MDB, ADP <-> MS SQL + VBA, ADO & RDO, .NET, Oracle, Java/Jsp.

  3. #3
    Join Date
    Dec 2003
    Posts
    172
    how do I figure out who the user is for each (I assume class id) in this hive?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •