Pressing an "external" button

  • Thread starter Thread starter Thijs
  • Start date Start date
T

Thijs

Hello,

I´ve got a question regarding controlling an external app. I´m writing
a vb.NET app that, at some point, needs to push a button in an
external app. This external app has no API whatsoever. Is there a way
to do this? I guess I have to raise a ButtonX_click event in the other
app, but I don´t know how to do that, nor do I know how to even find
the name of this ButtonX.

Does anyone have a clue as how to do this?

Kind regards,
Thijs (the Netherlands)
 
Hello,

I´ve got a question regarding controlling an external app. I´m writing
a vb.NET app that, at some point, needs to push a button in an
external app. This external app has no API whatsoever. Is there a way
to do this? I guess I have to raise a ButtonX_click event in the other
app, but I don´t know how to do that, nor do I know how to even find
the name of this ButtonX.

Does anyone have a clue as how to do this?

Kind regards,
Thijs (the Netherlands)

If this external app does not provide a reference or API, i think you
have a chance to use its function by starting the app with passing its
arguments using
"system.diagnostic.process.start("apppath.exe",<argument>....)" if it
provides the function with a parameter.
 
I´m writing
i think you
have a chance to use its function by starting the app with passing its
arguments using
"system.diagnostic.process.start("apppath.exe",<argument>....)" if it
provides the function with a parameter.

Unfortunately I can´t use this function since the whole idea is that
the button has to be pressed a lot of times. I really have to be able
to simulate a user click on the button...
 
Look at the answer to the post "detecting other a window" a few messages ago.
The same approach is necessary.
 
No worry, as the subjects do not always represent what the thread discusses.
I had just happend to read them in order.
 
Back
Top