|
-
Aug 28th, 2002, 08:23 AM
#1
Thread Starter
Member
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
-
Aug 28th, 2002, 09:27 AM
#2
Thread Starter
Member
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.
-
Aug 30th, 2002, 07:42 AM
#3
New Member
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
-
Aug 30th, 2002, 07:46 AM
#4
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|