Results 1 to 4 of 4

Thread: Newbie registry question

  1. #1

    Thread Starter
    Member otherones's Avatar
    Join Date
    Jun 2002
    Location
    Milk Factory
    Posts
    59

    Newbie registry question

    What would be the best way in vb.net to find the path of MS Access on a users machine?

    I have very little experience working with the windows registry, and no experience working with it in .net.

    Any help would be appreciated.


    thanks
    CSC

  2. #2

    Thread Starter
    Member otherones's Avatar
    Join Date
    Jun 2002
    Location
    Milk Factory
    Posts
    59

    Angry I am a dum*a$$

    Sorry for even posting that last message.. I figured it out myself... it was easy.

    Once I figured out to look in Win32.registry it was very easy.
    CSC

  3. #3
    New Member
    Join Date
    Jul 2002
    Posts
    7
    I think you must see a subkey in the registry in which key is contained the install\uninstall info fot Access after this you only have to make this:

    _key as registrykey
    _key = Registry.ClassesRoot.OpenSubKey(keyname)
    ' this depends of the type of the key (ClassesRoot,Users,LocalMachine....-)
    after this you can read a value with

    _key.GetValue (Subkeyname)

    I guess this can help you

  4. #4
    New Member
    Join Date
    Jul 2002
    Posts
    7
    I think you must see a subkey in the registry in which key is contained the install\uninstall path info for Access after this you only have to make this:

    _key as registrykey
    _key = Registry.ClassesRoot.OpenSubKey(keyname)
    ' this depends of the type of the key (ClassesRoot,Users,LocalMachine....-)
    after this you can read a value with

    _key.GetValue (Subkeyname)

    I guess this can help you

Posting Permissions

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



Click Here to Expand Forum to Full Width