problem in overwriting the previous setup
-
Hi, My Front end is VB.net 2008 I was trying to fix the problem of overwriting the previous setup problem. So while surfing the net, i got the following link useful. http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/aea77734-3517-4301-8525-a40748a7905c/[^] But I have a query, there I found the following code.
If My.Settings.UpdateRequired Then
My.Settings.Upgrade()
My.Settings.UpdateRequired = False
My.Settings.Save()
End IfCan you tell me, In which file I should write this code?
-
Hi, My Front end is VB.net 2008 I was trying to fix the problem of overwriting the previous setup problem. So while surfing the net, i got the following link useful. http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/aea77734-3517-4301-8525-a40748a7905c/[^] But I have a query, there I found the following code.
If My.Settings.UpdateRequired Then
My.Settings.Upgrade()
My.Settings.UpdateRequired = False
My.Settings.Save()
End IfCan you tell me, In which file I should write this code?
Before any off your settings are called so best bet is the application startup event.