Hello my problem is thus....
I am using API libararies
.... to simulate keystrokes... now when I simulate the keystrokes I need the program to wait for the report to be done before it simulates the needed buttons to save the report. Is their some kind of confirmation when the program finishes a process so I know when to save the report using more code?VB Code:
Private Declare Function MapVirtualKey Lib "user32" Alias _ "MapVirtualKeyA" (ByVal wCode As Long, _ ByVal wMapType As Long) As Long Private Declare Function VkKeyScan Lib "user32" Alias "VkKeyScanA" (ByVal _ cChar As Byte) As Integer Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal _ bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long) Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Declare Function GetKeyState Lib "user32" (ByVal nVirtKey As _ Long) As Integer


Reply With Quote