|
|
Public Class Form1
Dim Pid As Integer = 0
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Pid = Shell("notepad.exe", AppWinStyle.NormalFocus, True, 9000)
Timer1.Interval = 10000
Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick
AppActivate(Pid)
SendKeys.SendWait(Now.ToLongTimeString + vbCr)
End Sub
End Class
|
|
|
|
"Windows Communication Foundation is...a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications that communicate across the web and the enterprise"
|
|
|
|
|
|