Hi Bob,
The MSDN said,
If the key does not exist, it is created in the following format:
LocalMachine\So ftware\ CompanyName\ ProductName\ ProductVersion
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwind owsformsapplica tionclasscommon appdataregistry topic.asp
Provided the client app is WindowsApplicat ion18, the info will be stored in
the key path below.
HKLM\SOFTWARE\W indowsApplicati on18\WindowsApp lication18\1.0. 1392.32335
You may try to use the registrykey class to restrieve the data from the key
above.
e.g.
[Client app]
Application.Com monAppDataRegis try.SetValue("h ello","world")
[Windows Service]
Dim str As String
Dim lm As RegistryKey
lm = Registry.LocalM achine
Dim rkey As RegistryKey =
lm.OpenSubKey(" SOFTWARE\Window sApplication18\ WindowsApplicat ion18\1.0.1392. 3
2335")
str = CType(rkey.GetV alue("hello"), String)
rkey.Close()
If you have any question on this issue, please post here.
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure!
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.