Hi, all:
I am using VEE pro 9.3 npw, and have a task that need to call a BAT file and then send keyboard number (like 1,2 or 3) to this CMD.exe (BAT) window. I have searched VRF topics about this and found I should import "User32.dll" to do that!
I have issue to do this because it need "handle" function to change input window from VEE to CMD windonw, then use "sendkey" function to do that! I have been sucked in this question about 1 months.
Does anyone could give me a hand and show me some way to do this? Any example will be appreciated. Here is one example might be relative as attached. Thank you ~
Ryan Lu
I am using VEE pro 9.3 npw, and have a task that need to call a BAT file and then send keyboard number (like 1,2 or 3) to this CMD.exe (BAT) window. I have searched VRF topics about this and found I should import "User32.dll" to do that!
I have issue to do this because it need "handle" function to change input window from VEE to CMD windonw, then use "sendkey" function to do that! I have been sucked in this question about 1 months.
Does anyone could give me a hand and show me some way to do this? Any example will be appreciated. Here is one example might be relative as attached. Thank you ~
Ryan Lu
For instance, you might be able to send your data directly as a parameter passed to your batch file, or maybe do the control direct from VEE calling executables ( via a command line if need be ) directly.