Hello,

I need to convert a virtualKeyCode to an actual character of russian 
language
So the virtualkeycode should be converted to the correspondig russian glyph

I think that I could do that with native Windows API calls like
GetKeyboardLayout
ToUnicodeEx

but I wonder if I could do the same using MBS functions.

I've found
RemoteControlMBS.WinVirtualKeyCodeToCharCode(VirtualKeyCode as integer) as 
integer

I've tried this:
dim sChar as string
dim iChar as integer

iChar = RemoteControlMBS.WinVirtualKeyCodeToCharCode(myVKcode)
sChar = chr(iChar)
sChar=ConvertEncoding(sChar,Encodings.UTF8)

Then I save sChar to a textfile
But when I open the textfile (UTF8) I see only english letters like  abc.... 
no cyrillic


Any chance to do this?

Heinz

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to