Click here to Skip to main content
16,016,501 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I store last execution date in registry. Is it possible to update same registry file, when the last execution date is changed.
Posted
Updated 3-May-11 18:43pm
v2

Is it possible to update same registry file
If this was the only question, YES.

I am sure now your follow up would be, how (why not ask it first time itself?)

One can update the registry key at any time. Here you go:
Read, write and delete from registry with C#[^]
 
Share this answer
 
Comments
Olivier Levrey 4-May-11 8:11am    
Good link. 5.
Sandeep Mewara 4-May-11 10:32am    
Thanks.
RegistryKey rk = Registry.CurrentUser.CreateSubKey("SOFTWARE\\BLA\\BLA");
           rk.SetValue("RegistryName", VALUE);
with SetValue() property you can update set or change your Registry Value.
 
Share this answer
 
Comments
Olivier Levrey 4-May-11 8:14am    
Correct. My 5.
SercanOzdemir 4-May-11 8:53am    
thans

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900