Notice
														
												
											
												
												
													Recent Posts
													
											
												
												
													Recent Comments
													
											
												
												
													Link
													
											
									| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 | 
| 9 | 10 | 11 | 12 | 13 | 14 | 15 | 
| 16 | 17 | 18 | 19 | 20 | 21 | 22 | 
| 23 | 24 | 25 | 26 | 27 | 28 | 29 | 
| 30 | 
													Tags
													
											
												
												- ipad
 - permgen space
 - Eclipse
 - UIWebView
 - jQuery
 - udp
 - 인코딩
 - Objective C
 - 톰켓
 - WebView
 - encoding
 - XML
 - 티스토리 초대
 - ios
 - MySQL
 - 이클립스
 - Memory
 - Android
 - 티스토리 초대장
 - C#
 - Database
 - iphone
 - HTML
 - java
 - spring
 - jsp
 - 한글
 - 메모리
 - JavaScript
 - Tomcat
 
													Archives
													
											
												
												- Today
 
- Total
 
목록자동 실행 (1)
suroMind
			
			
				[C#] 윈도우 시작시 프로그램 자동 실행 레지스트리 등록
				
	
	
               
           
					
					
					
					
					
					
						
					
				어플리케이션 안에서 체크박스로 윈도우 시작시 자동 실행이라는 항목을 구현할 때가 있습니다. 아래처럼 레지스트리로 등록하여 사용합니다. RegistryKey registryKey = Registry.CurrentUser.OpenSubKey( @"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", true); //레지스트리 등록 할때 if (registryKey.GetValue("MyApp") == null) { registryKey.SetValue("MyApp", Application.ExecutablePath.ToString()); } //................................................................. //레지스트리 ..
				IT분야/C#
				
				2011. 11. 3. 13:50