Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

start wpf application when windows start

Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("SOFTWAREMicrosoftWindowsCurrentVersionRun", true);
string str = Assembly.GetExecutingAssembly().Location;
key.SetValue("Camaleone", str);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #start #wpf #application #windows #start
ADD COMMENT
Topic
Name
3+3 =