adding and calling registry value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, all

I wonder if i should oput this question here.
I use VS.net 2003 to create a setup and deployment project.. and i would like to add a string value in registry, which store the installation path of the program.. ( user can change the path when installing ).. how can i archieve this?? and if i would like to read the registry value in my aplpication (.exe) then how can i call in my code?

Thanks A Lot

Regards
KL
 
KL said:
I wonder if i should oput this question here..
I use VS.net 2003 to create a setup and deployment project.. and i
would like to add a string value in registry, which store the
installation path of the program.. ( user can change the path when
installing ).. how can i archieve this?? and if i would like to read
the registry value in my aplpication (.exe) then how can i call in my
code??

Have a look at Microsoft.Win32.Registry and
Microsoft.Win32.RegistryKey.
 
Back
Top