Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by VBdevil

  1. VBdevil

    virtual keyboard

    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.
  2. VBdevil

    virtual keyboard

    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.
  3. VBdevil

    virtual keyboard

    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...
  4. VBdevil

    virtual keyboard

    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...
  5. VBdevil

    virtual keyboard

    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...
  6. VBdevil

    virtual keyboard

    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...
  7. VBdevil

    Random Number

    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#?
  8. VBdevil

    Problem with multi-language resource file

    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...
  9. VBdevil

    help with serialization

    Thanks stsuing!!! Your reply really helped me solve my problem!!!
  10. VBdevil

    Problem with multi-language resource file

    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...
  11. VBdevil

    help with serialization

    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...
  12. VBdevil

    help with serialization

    I didn't understand your question. You wrote: "that would let you pass in the comps" What do mean by this? Anyway, I don't have an overload of New...
  13. VBdevil

    help with serialization

    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...
  14. VBdevil

    help with serialization

    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...
  15. VBdevil

    help with serialization

    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...

Part and Inventory Search

Back
Top