How to send keys to application in VB .NET? in VB6, we can key_event. How to do it in VB .NET? Just found we can not use many APIs in .NET, which is not good. :(
Printable View
How to send keys to application in VB .NET? in VB6, we can key_event. How to do it in VB .NET? Just found we can not use many APIs in .NET, which is not good. :(
u can use Send Keys and Application activate which is a part of vb.net. no need to use API
but I want to sendkeys to background window. if use application activate, will set the background window to beforeground.Quote:
Originally posted by anitb
u can use Send Keys and Application activate which is a part of vb.net. no need to use API