hey,
Ive got a problem with sendkeys every time i use the sendkeys funcion it say that is a type and not an expression (Expression is for eg. 1+5 or 5+6). But i never have had it an expression some example which dnt work are
Sendkeys("Hey")
sendkeys(string)
Sendkeys(function)
all of these return with the same errow
First of all, pretty much any value you deal with can be considered an "expression".
Secondly, please give us the specific details of the error message. Also, what version of VB are you using?
Certainly I would expect VB to spit the dummy if you put the word 'string' in there, since that is a reserved word. It could also explain the error message referring to a "type", since that's what String is. Likewise for 'function'. Don't know why it wouldn't like "Hey". Are you
sure it's always the same error?