my.settings

Run child process non-elevated from an elevated/As Admin process

杀马特。学长 韩版系。学妹 提交于 2019-11-28 06:10:55
问题 My application has a built-in self update system via another app called "updater.exe" which is in the same folder with the main application to update. It downloads the newest version, terminates the old one (if it's running) and then overwrites it. The problem is, to do that the updater.exe must be run with the Administrator privileges in order to have access to C:\Program Files\MyApp So far so good, the main app runs the updater.exe with Admin privileges (using UAC) but then the problem

Where are My.Settings saved in VB 2010 .NET?

╄→гoц情女王★ 提交于 2019-11-26 09:53:11
问题 Are My.Settings values saved in the program itself or do they get stored in the registry? So, for example, if I set a My.Settings value with a program, then I copy the program itself to another PC - is the My.Settings value still set? 回答1: It depends upon the scope you have selected. There are two scope settings - Application and User scope. From MSDN article: Application-scoped settings are read-only and are shared between all users of that application. These settings are stored in the app