Hot to control another apps form? 
Author Message
 Hot to control another apps form?

Is there a way to control another app from a vb program?
what I am trying to do is simulate pressing a command
button on a visible form of a another program...

Any Ideas?



Mon, 03 Dec 2001 03:00:00 GMT  
 Hot to control another apps form?
If the control in the other program has a keystroke associated with it, you
may be able to use a Windows API call to send that key value to the program.
If the control has a caption with an underlined character, you can use the
keyboard to activate it.

Quote:
> Is there a way to control another app from a vb program?
> what I am trying to do is simulate pressing a command
> button on a visible form of a another program...

> Any Ideas?



Mon, 03 Dec 2001 03:00:00 GMT  
 Hot to control another apps form?
Ok, Do you have a suggestion on which Windows API?
I'm still learning...
Thanks for the help...
- Jay -



Quote:
> If the control in the other program has a keystroke associated with it,
you
> may be able to use a Windows API call to send that key value to the
program.
> If the control has a caption with an underlined character, you can use the
> keyboard to activate it.


> > Is there a way to control another app from a vb program?
> > what I am trying to do is simulate pressing a command
> > button on a visible form of a another program...

> > Any Ideas?



Mon, 03 Dec 2001 03:00:00 GMT  
 Hot to control another apps form?
SendMessage(), most likely.  Please refer to an API book such as one by
Daniel Appleman for a better idea of how to accomplish this type of
inter-app communication.


Tue, 04 Dec 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Activating a procedure in a vb app using a hot key combination

2. Hot-key in my app in taskbar

3. NEED HOT VB APPS TO MARKET!!

4. Activating a procedure in a vb app using a hot key combination

5. How to do hot key in MDI form

6. Hot Keys on MDI Form

7. Creating Hot-Spots on a form

8. How to do hot key in mdi form

9. Hosting VB.NET controls/forms in a vb6 app

 

 
Powered by phpBB® Forum Software