본문 바로가기

전체 글

(302)
RichTextBox AutoResize 샘플코드 내용에 따라서 자동으로 크기가 변하는 RichTextBox 샘플코드이다. The key is handling the ContentsResized event on the RichTextBox (doesn't exist on a TextBox). The ContentsResizedEventArgs has a NewRectangle property which will give you the desired size. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; na..
iTextSharp 샘플코드 - Hello World iTextSharp 컴포넌트를 이용한 샘플코드이다. 가장 기본적인 예제로 Hello World 파일을 만드는 예제이다. using System; using System.IO; using iTextSharp.text; using iTextSharp.text.pdf; namespace iTextSharpSample { class Program { static void Main(string[] args) { // step 1: // Create an instance of the iTextSharp.text.Document object Document document = new Document(); // step 2: // Create a Writer that listens to this document and..
Windows Automation 프로그램들 download.com에서 Windows Automation Software 섹션을 보니, 이런 종류의 프로그램이 약 300 가지 정도 있다. 그중 무료 유틸리티만 120 가지 정도 된다. 생각보다 훨씬 많았다. 무료 유틸은 대부분 단순한 런쳐 정도의 수준이었다. 유료 유틸은 대부분 자체 스크립트 언어를 가지고 있었다. Download.com Automation Software Section http://www.download.com/Automation-Software/3150-2084_4-0.html?tag=dlbc
쓸만한 무료 스크린 캡쳐 유틸리티 ScreenHunter 5.0.125 Free ScreenHunter는 무료 스크린 캡쳐 유틸리티이다. 간편하고 사용하기 편리하면서도, 웬만한 상용프로그램 못지않은 기능을 제공한다. 홈페이지 http://www.wisdom-soft.com/ 요즘은 워낙 좋은 무료 스크린 캡쳐 유틸리티가 많아서 돈주고 살 필요를 전혀 느낄 수 없다.
AutoItX 3 COM interface 등록하기 AutoItX 3.2.10.0 버전을 사용하기 전에, COM interface를 등록해야한다. COM interface를 등록하려면 아래와 같이 해주어야한다. regsvr32.exe AutoItX3.dll Regsvr32 [/u] [/n] [/i[:cmdline]] dllname /u - 서버 등록 해제 /i - 선택적 [cmdline]에 보내는 DllInstall 호출, /u가 지정되면 dll 설치 제거 호출 /n - DllRegisterServer 호출 안 함, 이 옵션에는 /i가 지정되어야 함 /s – 자동 모드, 메시지 상자 표시 안 함(Windows XP 및 Windows Vista에 추가됨)
FontLink SystemLink 레지스트리 윈도우즈에서 FontLink를 편집해서 Reference Font를 사용하려면 아래와 같이 레지스트리를 수정해주면 된다. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink Tahoma (REG_MULTI_SZ) gulim.ttc,gulim reference.ttf,Reference
Windows Registry Editor - regedit & regedt32 Windows 2000 XP 레지스트리 에디터 regedit 혹은 regedt32 모두 사용 가능하다. regedit 사용 가능하다.
WinAutomation 잠깐 리뷰 WinAutomation은 Automate 류의 Task Automation 프로그램이다. WinAutomation은 .NET Framework을 사용하고, exe 파일을 생성해준다. Trial 버전을 이용해서 exe 파일을 만들고, 그 내용을 분석해보면 도움이 될 것 같다. http://www.winautomation.com/