Link to home
Start Free TrialLog in
Avatar of AWestEng
AWestEngFlag for Sweden

asked on

Simulate keystroke

HI!

I like to simulate some keystrokes in vb.net.

Ctrl+C+1

Control button + Letter C  + digit 1
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 512Thz
512Thz

That is ^ (for control key)
        Dim myKeyboad As New Microsoft.VisualBasic.Devices.Keyboard
        myKeyboad.SendKeys(^(c1)", True)
Leave it to Fernando (he answered first)
Avatar of AWestEng

ASKER

Thx guys
Not a problem, glad to help.  ;=)