본문 바로가기
반응형

프로그래밍45

VBScript shell.run shell.run strCommand, [intWindowStyle],[bWaitOnReturn] -strCommand : 실행할 명령 -intWindowStyle : 윈도우 스타일의 Int 값 -bWaitOnReturn : 스크립트를 계속 실행하기 이전에 명령이 완료되기를 기다릴지 여부의 boolean 값 Window Style value description 0 Hide the window and activate another window 1 Activate and display the window. (restore size and position) Specify this flag when displaying a window for the first time 2 Activate & minimize 3.. 2011. 11. 24.
VBScript DriveType 값 Value Description 0 Unknown 1 Removable 2 Fixed 3 Network 4 CD-ROM 5 RAM Disk 2011. 11. 24.
VBScript CreateTextFile 함수 object.CreateTextFile(filename[,overwrite[,unicode]]) -filename : 생성할 파일 경로 및 파일명 -overwrite : 기존에 파일이 존재할 겨우 덮어 쓸지 여부로 Boolean 값을 가진다. -unicode : 파일을 Unicode로 생성할지 여부로 Boolean 값을 가지며 false의 경우 ASCII로 생성된다. 2011. 11. 24.
VBScript 파일 객체 속성 값 Constant Value Description Nomal 0 Nomal file. No attributes are set ReadOnly 1 Read only file. Attribute is read/write Hidden 2 Hidden file. Attribute is read/write System 4 System file. Attribute is read/write Volume 8 Disk drive volume label. Attribute is read only Directory 16 Folder or directory. Attribute is read only Archive 32 File has changed since last backup. Attribute is read/write. .. 2011. 11. 24.
Android 손전등 어플 만들기 우선 적당한 이름으로 프로젝트를 하나 생성을 한다. AndroidManifest.xml 파일을 열어 Activity 탭을 선택한 뒤 프로젝트를 생성할때 자동으로 생성된 액티비티의 Theme 속성의 Browse를 선택한다. SystemResources 중 Theme.NoTitleBar.Fullscreen을 선택한다. ※Notification 영역과 Title 영역을 모두 꽉 채우기 위해서 설정한다 그다음 Permissions 탭으로 넘어가서 Uses Permission을 추가한다. 새로 생성한 Uses Permission 값으로 android.permission.CAMERA를 선택한다. ※카메라의 플래시를 사용하기 위해서 필요한 퍼미션을 받기 위해서 설정한다. 마찬가지로 Uses Permission 값으로.. 2011. 9. 25.
AVD & Eclipse 주요 단축키 1.AVD (Android Virtual Device) -F8 : 네트워크 On / Off 설정이 가능하다. 개발시 네트워크 환경에대한 테스트가 가능하다. -Ctrl + F11 : 화면 회전이 가능하다. 개발시 기기 화면 전환에 대한 테스트가 가능하다. 2.Eclipse -Ctrl + Shift + S : 변경된 파일 모두 저장 -Ctrl + B : 프로젝트 빌드 -Ctrl + F11 : 프로젝트 실행 -Ctrl + Space : 단어 자동 완성 (일부분만 작성하고 이 단축키를 사용하면 자동 완성창이 뜬다) -Ctrl + / : 선택된 영역을 주석처리한다. (Line 단위) -Alt + Shift + S : 추상 메소드, Getter & Setter 메소드 등 자동 완성 소스를 사용한다. -Ctrl + .. 2011. 9. 21.
반응형