검색결과 리스트
글
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
const int WM_SYSCOMMAND = 0x0112;
const int SC_MONITORPOWER = 0xF170;
const int ON = -1;
const int OFF = 2;
[DllImport("user32.dll", SetLastError = true)]
private static extern IntPtr SendMessage(IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam);
private void button1_Click(object sender, EventArgs e)
{
SendMessage(this.Handle, WM_SYSCOMMAND, new IntPtr(SC_MONITORPOWER), new IntPtr(OFF));
}
}
}
참고문서: http://www.kev009.com/wp/projects/lcdoff/
첨부파일: LCDoff.zip 은 어셈으로 작성된 코드이다.
'Programing' 카테고리의 다른 글
Windows 10 설정 앱 스키마 (0) | 2017.08.23 |
---|---|
모니터 C#으로 끄기 (0) | 2013.09.03 |
.NET Code Conversion? (0) | 2012.11.07 |
MySQL UPDATE JOIN 예제 (0) | 2012.02.28 |
C# private 필드 리플렉션 (0) | 2012.01.16 |
구글 api 모음 (0) | 2012.01.10 |
글
I figure the BCDEdit steps, modified for the USB drive (E:), will apparently be...
Bcdedit –createstore c:\temp\BCD
Bcdedit –store c:\temp\BCD –create {bootmgr} /d “Boot Manager”
Bcdedit –store c:\temp\BCD –set {bootmgr} device boot
Bcdedit –store c:\temp\BCD –create /d “WINPE” –application osloader
Bcdedit –import c:\temp\BCD
This returns a GUID value, which is substituted in the below...
Bcdedit –store E:\boot\BCD –set <GUID> osdevice partition=boot
Bcdedit –store E:\boot\BCD –set <GUID> device partition=boot
Bcdedit –store E:\boot\BCD –set <GUID> path \i386\setupldr.bin
Bcdedit –store E:\boot\BCD –set <GUID> systemroot \windows
Bcdedit –store E:\boot\BCD –set <GUID> winpe yes
Bcdedit –store E:\boot\BCD –set <GUID> detecthal yes
Bcdedit –store E:\boot\BCD –displayorder <GUID> -addlast
link: http://www.911cd.net/forums//index.php?showtopic=20186&mode=threaded&pid=135415
글
The 'X' button, and 'data-rel="back"' links in
a dialog are ignored when running in an embedded browser on iOS
devices. When running from Safari the close button works fine, but when
running from a UIWebView the X button is ignored.
헐... JQM의 X버튼이랑 "data-rel=back"은 IOS 디바이스의 내부 브라우저에선 실행이 안 된단다!! 음.... 이거참...
https://github.com/jquery/jquery-mobile/issues/2190
'Other' 카테고리의 다른 글
개인정보처리방침 수정 (0) | 2017.10.26 |
---|---|
JQM에서 다이얼로그와 IOS 디바이스 브라우저 관련 (0) | 2013.05.10 |
파이어폭스-20-포터블-한국어판 (0) | 2013.05.10 |
아이폰 3GS 창세기전2 설치! (0) | 2010.12.29 |
제주도 사진 (0) | 2009.10.07 |
랜서 에볼루션 1000 마력 튜닝?? (0) | 2009.08.11 |
글
FirefoxPortable_20.0_Korean.paf.part1.rar
FirefoxPortable_20.0_Korean.paf.part2.rar
FirefoxPortable_20.0_Korean.paf.part3.rar
FirefoxPortable_20.0_Korean.paf.part4.rar
분할압축파일입니다.
받아서 설치하시면 됩니다.
포터블!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
'Other' 카테고리의 다른 글
개인정보처리방침 수정 (0) | 2017.10.26 |
---|---|
JQM에서 다이얼로그와 IOS 디바이스 브라우저 관련 (0) | 2013.05.10 |
파이어폭스-20-포터블-한국어판 (0) | 2013.05.10 |
아이폰 3GS 창세기전2 설치! (0) | 2010.12.29 |
제주도 사진 (0) | 2009.10.07 |
랜서 에볼루션 1000 마력 튜닝?? (0) | 2009.08.11 |
글
업로드 요청 파일의 용량이 일정량 이상 보다 큰 경우 404.3 에러가 발생하는데 이 문제의 해결 방법은 간단하다
요청필터링->기본설정편집->허용되는 최대 콘텐트 길이(바이트)
이 수치를 늘려준다!
이것 때문에 엄한 삽질을!!! +.+
'Windows Server Tech' 카테고리의 다른 글
IIS8(7.5) 대용량 파일 업로드시 404.3 문제 (0) | 2013.03.21 |
---|
글
# mysqldump -udbid -ppassword --compatible=mysql40 --default-character-set=euckr dbname > outputfilename.sql
mysql 4.0인 경우는 당연히 utf8을 지원하는 스펙이 없어서 위 처럼 한다.
'Web Tech' 카테고리의 다른 글
MySQL 5에서 4로 다운그레이 할때 (0) | 2012.11.27 |
---|---|
html5 form element kit (0) | 2012.01.10 |
C#, VB.net로 만든 코드를 웹으로~ (0) | 2011.10.07 |
플래쉬 소스 (0) | 2011.06.07 |
글
http://www.codeproject.com/Articles/310667/NET-Code-Conversion#Java
일단 무료인것만 모아진거 같은데 써봐야 할것 같다.
'Programing' 카테고리의 다른 글
Windows 10 설정 앱 스키마 (0) | 2017.08.23 |
---|---|
모니터 C#으로 끄기 (0) | 2013.09.03 |
.NET Code Conversion? (0) | 2012.11.07 |
MySQL UPDATE JOIN 예제 (0) | 2012.02.28 |
C# private 필드 리플렉션 (0) | 2012.01.16 |
구글 api 모음 (0) | 2012.01.10 |
글
mysql 5, windows 환경에서 주로 나타나는걸로 알고 있지만 그외 운영체제에서도 mysql 5라면 발생할수 있다.
SELECT @@GLOBAL.sql_mode;
SELECT @@SESSION.sql_mode;
둘중 하나만 mysql 커맨트 모드로 진입한다.
이처럼 STRICT_TRANS_TABLES이 포함 되어 있다면 정상적으로 설치나 구동 되지 않는다.
여기서(루트 권한이 있어야 한다)
set global sql_mode = 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
set session sql_mode = 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
런타임에 바꿀수 있으나 실제 운영 서버라면 my.cnf 파일을 찾기를 바란다.
my.cnf 파일을 찾는 방법은 이번에는 포스팅 하지 않겠다.
'Computer > Tip & Leature' 카테고리의 다른 글
그누보드, 영카트 설치시 에러 mysql strict mode 문제 (0) | 2012.10.28 |
---|---|
특정 볼륨에 오픈된 핸들 찾기 (0) | 2012.06.15 |
엑셀 행 추가 단축키 (0) | 2012.05.23 |
BootCamp나 Paralles Desktop 사용시 KB2686509를 업데이트 할수 없다. (0) | 2012.05.17 |
.ds_store 삭제(윈도서) (0) | 2012.05.15 |
Threading and Context Switching (0) | 2011.12.26 |