Hello,
I'm trying to create a program that alt tabs and then outputs some keystrokes.
I have tried using:

Code:
System.Windows.Forms.SendKeys.Send("%{TAB}")
When i run it, it will Press alt and then Tab, but it won't release Alt, so it doesn't actually perform the Alt+Tab Correctly.

I have also tried opening a Notepad document and then running this code.
Code:
System.Windows.Forms.SendKeys.Send("Hello")
This didn't output "Hello" into the notepad.

I have also tried using System.windows.forms.sendkeys.sendwait but that hasn't worked either.

Is there an easy way to pause the application? might be usable instead of sending alt+tab.

This code is located in the form load section.
|
\/
Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub
Thanks.
Appreciate any help given.