본문 바로가기

프로그램 경험

[C#] 프로그램에 치트키 넣기 스타크래프트에서 사용하는 치트키는 어떻게 만들까 하는 생각에 간단하게 이렇게 하면 되지 않을까 하는 생각으로 만들어 봤다. using System; using System.Drawing; using System.Windows.Forms; namespace Exams { public partial class CheatKey : Form { private string _cheatKey; private bool _cheatStart = false; public CheatKey() { InitializeComponent(); } private void CheatKey_KeyUp(object sender, KeyEventArgs e) { //엔터로 치트 시작 if (e.KeyData == Keys.Enter) {..
SyntaxHighlighter 사용하기 아래 사이트에서 파일을 다운받는다. http://alexgorbatchev.com/wiki/SyntaxHighlighter 압축을 풀면 3개 폴더가 있는데 그중에서 scripts 폴더와 styles 폴더에 있는 모든 파일들을 Tistory >> 스킨 >> HTML/CSS편집 메뉴의 파일 업로드 탭에서 파일을 업로드 한다. 업로드가 끝났으면 이번엔 HTML/CSS편집 탭으로 가서 skin.html 파일 내용중 바로 윗부분에 아래의 내용을 추가한다. 그리고 사용할때는 아래와 같이 사용하면 된다. 소스 내용~
[C#] 레지스트리 다루기 프로그램을 하다보면 간단하게 값을 저장하고 싶을때가 있다. 그럴때 레지스트리에 저장하면 간단하게 사용할수 있다. using System; using System.Drawing; using System.Windows.Forms; using Microsoft.Win32; namespace Exams { public partial class RegistryExam : Form { public RegistryExam() { InitializeComponent(); } private void CreateButton_Click(object sender, EventArgs e) { //키 생성하기 RegistryKey regKey = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\..
[리눅스] 노트북에 우분투 설치후 종료 안되는 현상 해결 Re: acpid:exiting error during shutdown Might be linked with this bug: https://bugs.launchpad.net/ubuntu/+s...er/+bug/274995 Possible workaround: Open the file /etc/init.d/alsa-utils with root privileges: Code: gksudo gedit /etc/init.d/alsa-utils Search for the "stop)" entry, somewhere near line 353 . Add these lines, accordingly to your network names: Code: ifconfig wlan0 down ifconfig eth0 dow..
[Windows] Xp에서 폴더의 보안탭 나오게 하기 파일 탐색기에서 도구 - 폴더 옵션 - 보기 탭에서 - 모든 사용자에게 동일한 폴더 공유 권한을 지정(권장) 을 체크 해제 하면 된다.
[Windows] Vista 최대절전모드 쓰기 비스타에 최대절전모드가 없어진 경우엔 아래와 같이 명렁어 치면 나온다 C:\powercfg -h on
[Visual Studio] VS2005 프로젝트 템플릿정보 사라졌을때 화면 캡처: 2008-07-06, 오후 4:18
[Windows] 익스플로러7 시작페이지 설정 안될때 HKEY_CURRENT_USER - Software - Microsoft - InternetExplorer - Main