전체 글
-
(Windows7) ftp 451 error 해결방법tool 2009. 12. 28. 15:53
Windows 7을 설치하고, IIS7로 ftp를 사용해야 하는데 자꾸 에러가 나서 해결방법을 찾다가 역시나 내공 충만한 알 수 없는 외국분의 글로 해결보았다. 증상 공백, 한글, 일어, 중어 등이 파일이름(혹은 경로)에 포함되어 있을 경우 아래와 같은 메세지와 함께 ftp 오류가 발생한다. 200 Type set to I. 227 Entering Passive Mode 451 No mapping for the Unicode character exists in the target multi-byte code page. 해결방법 ftp 서버쪽 설정을 변경하여야 하는데 매우 간단하다. Inetmgr를 실행한다. FTP Site에서 오른쪽 버튼을 눌러서 FTP 사이트 관리 > 고급설정을 클릭한다. 고급설정 창..
-
Process 실행시키기dev/C# 2009. 11. 25. 15:02
외부 실행파일("*.exe")을 실행기키기 Application 만들다가 외부 프로그램을 실행시킨 뒤, 실행이 끝나면 어떤 처리를 해야 할 경우 1. 동기 : WaitForExit() 이용 Process proc = Process.Start("notepad.exe"); proc.WaitForExit(); 정보를 대략 출력해보면, Process proc = Process.Start("notepad.exe"); proc.WaitForExit(); Console.WriteLine("Process FileName: " + proc.StartInfo.FileName); // 프로세스 이름 Console.WriteLine("Start time: " + proc.StartTime.ToString()); // 시작 시..
-
(Error) Visual Studio 2008 템플릿 정보를 찾지 못했습니다.dev 2009. 11. 20. 18:53
윈도우 복구를 했더니 나타난 빌어먹을 스튜디오 에러. 이런 우라질 브라질 쓰리랑카레이션! -_-++++ 1. Error 현상 "템플릿 정보를 찾지 못했습니다. blah blah~ " 요런 팝업창과 함께 새 프로젝트를 생성할 때 프로젝트 형식이 다 사라졌다. MSDN님, 네이버님과 구글님께 한글로 검색해보았자 응답이 없으시다. 구글님께 영어로 검색하자 바로 신탁! 위 에러에 해당하는 영어 메세지는 "No Visual Studio Template information found. blah blah~ " 2. Error 원인 Visual Studio project template 파일들이 설정된 폴더에 없거나, project template 경로가 잘못 설정되면 발생. 3. Error 해결방법 Visual S..
-
PDB Contents Guide 1. Introductionpdb 2009. 10. 12. 20:29
PDB format description 중 확인할 부분 정리. Protein Data Bank Contents Guide: Atomic Coordinate Entry Format Description Version 3.20 Document Published by the wwPDB This format complies with the PDB Exchange Dictionary (PDBx) http://mmcif.pdb.org/dictionaries/mmcif_pdbx.dic/Index/index.html. Format 기본설명 - 그리스 문자는 alpha, beta, gamma 이런식으로 풀네임으로 쓴다. - 콤마"," 콜론":" 세미콜론";" 은 list의 구분자로 사용된다. - 콤마"," 콜론":" ..
-
현재 실행중인 함수 이름 가져오기dev/C# 2009. 9. 16. 15:56
에러 처리할 때 어느 함수에서 에러가 났는지 로그가 남으면 알기 편할 것 같아서 로거를 만들다가... 현재 실행중인 함수 이름 가져오기 using System.Reflection; void FunctionNameTest() { string currentFunction = MethodBase.GetCurrentMethod().Name; try { } catch (Exception ex) { Console.WriteLine("ERR at {0}.", currentFunction); } finally { } } 이런식으로 사용하면 된다. 더 자세한 함수 호출관계를 알려면 StackTrace, StackFrame, MethodBase 클래스들을 잘 섞어쓰면 된다. (관련예제 자세한 것 http://www.cod..
-
Process 실행dev/C# 2009. 9. 14. 21:31
using System.Diagnostics; Process.Start(@"D:/runtest/run.exe");