Re: Saving file Path in Registry

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: mikeb (mailbox.google_at_mailnull.com)
Date: 02/09/04


Date: Mon, 09 Feb 2004 15:58:12 -0800

Ed P. wrote:

> Hello...I currently have a OpenFileDialog object that I will use to get the path of an Access Database. I would like to save the path of the database (ie c:\MyDatabase.mdb) to the registry so that I can use this in my application. I would also like to know how to retreive this registry entry so that it can be used by a few of my classes. Any help or resources that you can point me to for this task will be greatly appreciated! thanks

Look at the System.Win32.RegistryKey class in the framework docs.

-- 
mikeb