Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByRef lpvParam As Any, ByVal fuWinIni As Long) As Long
Private Declare Function ActivateKeyboardLayout Lib "user32" ( _
ByVal HKL As Long, _
ByVal Flags As Long) As Long
Private Declare Function GetKeyboardLayout Lib "user32" ( _
ByVal dwLayout As Long) As Long
Private Declare Function GetKeyboardLayoutName Lib "user32" Alias "GetKeyboardLayoutNameA" ( _
ByVal pwszKLID As String) As Long
¸Þ¸ðÀå ÇÁ·Î±×·¥¿¡¼ È®ÀÎÇϸé ÇÑ¿µÀüȯÀÌ ¾ÊµÇÀֳ׿ä```
¸Å¹ø Â¥Áõ³ª¼¿ä
°£´ÜÇÏ°Ô exe Å°¸¦ ¸¸µé¾î¼ ¹èÄ¡ÈÀÏ ½ÇÇà½ÃÅ°·Á±¸¿ä
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByRef lpvParam As Any, ByVal fuWinIni As Long) As Long
Private Declare Function ActivateKeyboardLayout Lib "user32" ( _
ByVal HKL As Long, _
ByVal Flags As Long) As Long
Private Declare Function GetKeyboardLayout Lib "user32" ( _
ByVal dwLayout As Long) As Long
Private Declare Function GetKeyboardLayoutName Lib "user32" Alias "GetKeyboardLayoutNameA" ( _
ByVal pwszKLID As String) As Long
Private Const SPIF_SENDWININICHANGE = &H2
Private Const SPI_SETDEFAULTINPUTLANG = 90
Const HKL = "00000409"
Private Sub Command1_Click()
Dim retval As Long
retval = SystemParametersInfo(SPI_SETDEFAULTINPUTLANG, 0, HKL, SPIF_SENDWININICHANGE)
ActivateKeyboardLayout retval, 0
End Sub
ÀÌ°É ¹ß°ßÇ߰ŵç¿ä
ÀÌ°É ½ÇÇàÆÄÀÏ·Î ¸¸µå´Â°Ô °¡´ÉÇÑÁö¿ä
Á¦°¡ Àß ¸ð¸£´Ï Á» ºÎŹµå¸±²¾¿ä
ÀÛ¾÷ÀÌ Ä¿¸Çµå¶óÀο¡¼¸¸ ÀÌ·ïÁö´Â °ÍÀÎÁö¿ä?
Á¦°¡ ¾²´Â ÇÁ·Î±×·¥¿¡¼ ±¸ÇöÇϱⰡ Èûµé¾î¼ Ä¿¸àµå ¶óÀÎÀ̳ª ½ÇÇàÆÄÀÏ °°Àº°É·Î ½ÇÇàÇÏ·Á°í Çϰŵç¿ä
¼ö°í½º·´Áö¸¸ °¡´ÉÇÒ±î¿ä?
º»¹®ÀÇ rundll32ÀÌ¿ëÇÏ´Â °ÍÀº win2kÀÌÈÄ ¾ÈµÇ³ªº¸±º¿ä.
Àü¿ªÀûÀ¸·Î ÇÏ·Á¸é ÇÁ·Î±×·¥ µû·Î ¸¸µé¾î¾ßÇϴµ¥ Ä¿¸Çµå¶óÀο¡¼ ÀԷ¸¸ ¹®Á¦¶ó¸é °£´ÜÇÕ´Ï´Ù.
chcp 437 <--¿µ¾î·Î ·ÎÄÉÀÏÀ» ¹Ù²ß´Ï´Ù(¿µ¹®¸¸ ÀԷµ˴ϴÙ).
chcp 949 <--´Ù½Ã Çѱ۷ΠµÇµ¹¸³´Ï´Ù.
À©µµ¿ì Àüü ÇÁ·Î±×·¥¿¡¼ ¿µ¾î ÀÔ·ÂÀÌ µÇ°Ô Çϴ°Űŵç¿ä
chcp ·Î Çغ¸´Ï ¾ÈµÇ³×¿ä
±×°Ô ¸í·Éâ¿¡¼¸¸ µÇ´Â°Ç°¡¹Ù¿ä?
¹èÄ¡ÆÄÀÏ·Î ÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀº..
http://support.microsoft.com/kb/325856/ko
http://us.generation-nt.com/answer/loadkeyboardlayout-keyboard-layout-help-8530972.html
¿©±â¸¦ ÂüÁ¶ÇÏ½Ã¸é µÇ°Ú½À´Ï´Ù.
À§ ¹æ¹ý ¿ª½Ã ±¹°¡/¾ð¾î ¼³Á¤Ã¢À» È£ÃâÇØÁÖ°í ¼¼ÆÃÀ» ÀÀ´äÆÄÀÏ·Î ÀÔ·ÂÇÏ´Â °ÍÀÔ´Ï´Ù.
±× ÀÌ¿Ü¿¡´Â ½ÇÇà½ÃÄѼ ¿µ¾î·Î¸¸ ÇÏ·Á°í Çϰŵç¿ä
À§¿¡ vb ·Î Çϸé ÁÁÀ»°Å °°Àºµ¥¿ä
"SystemParametersInfoA ÇÔ¼ö ÀÌ¿ëÇؼ ¹Ù²Ü ¹æ¹ýÀº ¾ø´Â°ÇÁö¿ä?
ÀÌ·±½ÄÀ¸·Î ½ÇÇàâ¿¡¼ ÇÏ´Â ¹æ¹ý ¾ø³ª¿ä
ÀÌ ÇÔ¼ö ¿Ö ÀÛµ¿À» ¾ÈÇÒ±î¿ä?
ÇѱÛÀÌ ÇÊ¿äÇÒ ¶§´Â ÇÑ¿µÅ° ´©¸£½Å´Ù´Âµ¥, ·ÎÄÉÀÏ ¹Ù²Û »óÅ¿¡¼´Â ¾ð¾îÀüȯÇÑ ´ÙÀ½ ÇÑ¿µÅ°(ÇÑ¿µÅ°´Â ÀÌÀü¿¡ ÇÑ±Û »óÅ¿´´Ù¸é ¾È´·¯µµ µË´Ï´Ù)¸¦ ´·¯¾ß°ÚÁÒ.
±×·³ °á±¹ ÇÑ¿µÅ°¸¦ ½Ç¼ö·Î ´©¸£°Å³ª ÇÏÁö ¾Ê°Ú´Ù´Â°ÇÁö Àß ÀÌÇØ°¡ ¾ÈµË´Ï´Ù.
ÇÑ±Û ÀÔ·Â ÇÏ½Ã°Ú´Ù´Â°Ç ÇÑ±Û ·ÎÄÉÀϵµ ±×´ë·Î µÎ°í ¾²½Ã°Ú´Ù´Â°Å°í µû¶ó¼ ÇÁ·Î±×·¥ÀÌ ÇØÁÖ´Â ÀÏÀº ¼³Ä¡µÈ µÎ°¡Áö ¾ð¾î Áß ¿µ¹® ¼±ÅÃÀ» ÇØÁÖ´Â °Í »ÓÀε¥...
ÇÁ·Î±×·¥ ¸¸µé¾îµÎ°í ÇÁ·Î±×·¥À» ½ÇÇàÇϴ°ųª ÇÖÅ°³ª Æ®·¹ÀÌ¿¡¼ ·ÎÄÉÀÏÀ» ¹Ù²Ù´Â°Å³ª ¶È°°¾Æ º¸À̴µ¥ ¿Ö ÇÁ·Î±×·¥À» ¸¸µé·Á°í ÇϽôÂÁö.. ÇÁ·Î±×·¥ÀÌ µµÀüÇغ¼¸¸ÇÑ ³À̵µ°¡ Àְųª ±×·±°Íµµ ¾Æ´Ï°í...
(·Î±×¿Â½Ã ÀÚµ¿À¸·Î ¿µ¾î»óÅ -> ÀÌ°Í ¿ª½Ã µðÆúÆ® ·ÎÄÉÀÏÀ» ¼³Á¤ÇÏ¸é µÇ´Ï±î ÀÕÁ¡ÀÌ ¾ø°í¿ä)
ÇÁ·Î±×·¥ ¾È¸¸µé°í ±×³É ¼¼Æà »ç¿ëÇÏ´Â °Í°ú ºñ±³ÇØ ÆíÇÑ Á¡ Çϳª ¾ø´Â °Í °°Àºµ¥...
óÀ½ Á¢±Ùó·³ ¹èÄ¡ÆÄÀÏ·Î °¡´ÉÇÑ°Ç À§¿¡ Àû¾îµå·È´Âµ¥ ¿øÇÏ½Ã´Â°Ô ²À ºñº£·Î ÇϼžßÇÏ´Â °ÍÀÎÁö
ºñº£ ÄÚµå´Â ´ë·« À§¿¡ ãÀ¸½Å ÄÚµå´ë·Î ÇÏ½Ã¸é µÉ°Ì´Ï´Ù.
½ÇÇàÆÄÀÏ·Î ¸¸µå´Â°Ô °¡´ÉÇÑÁö´Â ºñº£ »ç¿ë¹ýÀ» ¹°À¸½Ã´Â°ÇÁö¿ä?
Á¦°¡ ´·¯ ±¸Áö È®ÀÎÇØ º¸Áö ¾Ê¾Æµµ ÀÚµ¿À¸·Î ¿µ¾î°¡ µÇ´Ï
±× Àǵµ°Åµç¿ä
¾ÆÁÖ Å« ¶æÀº ¾ø´ä´Ï´Ù
±×¸®°í À§¿¡ Á¦°¡ ºÙ¿©³í ¼Ò½º°¡ ½ÇÇàÀÌ Àß µÇ´ÂÁö´Â Á¦°¡ ºñº£¸¦ µµÀúÈ÷ ±ò »óȲÀÌ ¾ÈµÇ¾î¼ ºÎŹµå¸°°Å°Åµç¿ä
±×¸®°í À§¿¡ ¾Ë·ÁÁֽǴë·Î ÇÏ´Ï ¾ðÀú ÄÜÆ®·Ñ ÆdzÚÀÌ ¶ß±â¸¸ Çؼ¿ä
±×¸®°í ¾à°£ÀÇ ½Ã°£ÀÌ °É¸®´õ¶ó±¸¿ä
ÀÌ¿ÕÀÌ¸é °¡Àå ºü¸¥°É·Î ÇÞÀ¸¸é Çؼ¿ä~ ±×¸®°í Á¦°¡ ¸µÅ©ÇÑ ºñº£ ¼Ò½º´Â ¹öÆ°À» ´·¯¾ß Çϴµ¥
±×³É ½ÇÇà½ÃÅ°¸é ¹öÆ°¾øÀÌ ½ÇÇà½ÃÅ°·Á°í Çϰŵç¿ä
~~~
½Ã°£ ³»Áּż µµ¿ÍÁֽŰŠÁ¤¸» °¨»çÇϱ¸¿ä