I am successfully using SendKeys.Send to send strings to an application but when this is entered into the destination (third party) application the case will depend on what the current state of the CAPS LOCK key is on the keyboard and I need it to preserve the case I send it.
I know I can send CAPS LOCK and SHIFT via SendKeys but that will simply toggle the case which is of no use as I don't know what it will be in the first place - if you see what I mean?!
I need a way of either finding out what the current state of the CAPS LOCK key is or forcing the SendKeys method to use my exact string - including upper and lower case letters.
Using LOWERCASE / UPPERCASE type methods (as I have read elsewhere) obviously wont work as the important factor here seems to be physical CAPS LOCK key on the keyboard!