VB Send Win32 Message to Other Apps
-
Hi guys, Is there a way to send key-strokes messages to other apps. Current senario; I usually open a MS Word, GFX editor etc. What I want the VB code to do is; I press a button -> VB tells All Open MS-Word, GFX editor etc. that Ctrl-P has been pressed, for example. Anyway to do this?
-
Hi guys, Is there a way to send key-strokes messages to other apps. Current senario; I usually open a MS Word, GFX editor etc. What I want the VB code to do is; I press a button -> VB tells All Open MS-Word, GFX editor etc. that Ctrl-P has been pressed, for example. Anyway to do this?
I guess you could do it with API's: EnumWindows and SendMessage. VB have a native SendKeys statement, but you will still need to use EnumWindows to get all the window handles...
-
Hi guys, Is there a way to send key-strokes messages to other apps. Current senario; I usually open a MS Word, GFX editor etc. What I want the VB code to do is; I press a button -> VB tells All Open MS-Word, GFX editor etc. that Ctrl-P has been pressed, for example. Anyway to do this?
SendKeys