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
Printable View
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
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.
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
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