yeah, your code is very similar..
thanks though..
If you know or think of any other API functions then that would be great..
Anyway, thanks for all your help.
strongm, I don't have french installed, so I can't run that test.
could you write me your LoadKeyboardLayout code?
I'd like to see if maybe you used another flag or something like that.
the code to change to english looks like this:
HKL = LoadKeyboardLayout("00000409", KLF_ACTIVATE)
call ActivateKeyboardLayout(HKL, KLF_REORDER)
and the other languages are done the same way, only with a different string for the first parameter of the
LoadKeyboardLayout function.
By the way...
The click event is this:
Private Sub cmd_Click(Index As Integer)
{
Select Case Index
Case 0 To 11
SendKeys(cmd(Index).Caption)
Case 12
SendKeys(Chr$(8)) 'backspace
Case 13 To 33
SendKeys(cmd(Index).Caption)
Case 34...
Ok - let me explain again:
I have an application that simulates a keyboard.
It's a form with command buttons on it, that writes to any type of text editor (word document, notepad application, text box etc).
This keyboard application can be installed in different languages, and the captions of...
Hi,
I have a virtual keyboard that works in English and in other languages.
My problem is that when I try to write in a different language other than english, and the computer language is on English - it sends the letters to the screen in english.
And vice versa - if I'm writing in english...
I want to generate a random number, in different ranges (for instance between 0-100, -100 to 100, or 0-1).
Is there a function in C# with which I can do this?
if not, then how can I do this in C#?
I don't have an option to move to VB.net, or to use a localized copy of VB...
Also, don't forget that the displaying problem happens only on some computers (computers where I don't have VB installed, but I used a setup program to install the application).
Any other ideas u guys?
could I be...
Hi,
I have an application in VB6 that is installed each time in a different language. I do this using a resource file that has different languages. The resource file is built this way: index 1-100 are labels/captions etc. in English, and indexes 101-200 are in a different language, indexes...
What I have is this class (that was auto-generated, so I can't modify it):
public class components
{
private componentsComponent[] itemsField;
public componentsComponent[] Items
{
get {return this.itemsField;}
set {this.itemsField = value;}
}
}
And when I write (in...
No there isn't an add method - already tried that...
I think I have to allocate memory for the elements of the items array using the new keyword, but I don't know how...
The constructor does not populate the collection, and I can not change it's code, because that code was automatically generated by the xsd.exe tool.
My problem is exactly this - how do I populate the collection? How do I allocate memory for the elements of the items array?
(right now the...
My problem is that comps.Items is null, and I want it to be an array of size 8..
Let me explain the problem in more detail:
comps is an object of type class components.
For each component in the class there is an array named Items. There are 8 components in all, so Items should be an array of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.