SendKey problem with doubleused keys

Tech-Archive recommends: Fix windows errors by optimizing your registry



I have an VB6 application which makes intensive use of Sendkeys. Sometimes
when a long string (filenames including pathname) is sent I found that often
one of the backslash characters is changed to its correspondent 'non Alt Gr'
character (which is 'ß' on my German keyboard, where backslash ist created
using Alt Gr).

Maybe this occures also on other Alt Gr characters but I could verify this
only in case of backslashes, and not at each backslash key, and not
reproducable. I'm not sure but I had the feeling that it happens more often
when memory is filled up with some more programs.

Using this app I also found that (at least sometimes) characters changed
from lower to upper case if Caps Lock is active at runtime, independent of
the real case of the string characters given to be sent. This looks to be
reproducable so it might be no bug but by design, I'm not sure.

Does anyone know of this problem and could me give a suggestion how to
handle this problem? Inserting a DoEvents didn't help.


.



Relevant Pages

  • Re: String literals in Java
    ... """ can have escape sequences like ... any normal string. ... characters: a backslash and a lowercase "n". ...
    (comp.lang.java.programmer)
  • Re: SendKey problem with doubleused keys
    ... > one of the backslash characters is changed to its correspondent 'non Alt Gr' ... > the real case of the string characters given to be sent. ...
    (microsoft.public.vb.winapi)
  • Re: Newbie need help
    ... you just lucked out by using a different string. ... the source translator to construct special characters. ... backslash followed by a lower case t. ... because '\t' is the tab character, ...
    (comp.lang.python)
  • inserting "" & chr$(10) in MSSQL
    ... I try to insert a string out of vb 6.0 which contains a backslash, ... enormous performance loss..... ...
    (microsoft.public.data.ado)
  • Re: How to convert Infix notation to postfix notation
    ... If this is for an error message, why isn't it using stderr for its output? ... array of 15 characters, and you call this function with the limit 15 on ... Making sure that the only string I allocate and append to, ... because mulFactor in all versions must needs incorporate the functions ...
    (comp.lang.c)