첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
------------------------------------------------------------------------------------------------------------------------------------------------------
728x90
728x170

■ 윈도우즈 화상 키보드를 실행하는 방법을 보여준다.

 

▶ 예제 코드 (C#)

using System;
using System.Diagnostics;
using System.IO;

string filePath;

if(Environment.Is64BitOperatingSystem)
{
    filePath = Path.Combine
    (
        Directory.GetDirectories
        (
            Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), "winsxs"),
            "amd64_microsoft-windows-osk_*"
        )[0],
        "osk.exe"
    );
}
else
{
    filePath = @"C:\windows\system32\osk.exe";
}

if(File.Exists(filePath))
{
    Process.Start(filePath);
}
728x90
그리드형(광고전용)
Posted by icodebroker
,