Re: how to bring an application to front
- From: Tom Esh <tjeshGibberish@xxxxxxxxxx>
- Date: Wed, 08 Jun 2005 09:03:48 -0400
On Wed, 8 Jun 2005 12:44:14 +0200, "Alessandro" <pippo@xxxxxx> wrote:
>Hello.
>How can I bring to front an other application from my VB application? In
>particular, the other application can have multiple instances opened (for
>example, three different Notepad)
>Thanks in advance.
>Ale
>
Get the hwnd of main window and use SetForegroundWindow. However it
really depends on what you want to do: Bring them ~all~ to the front,
or one in particular? If you want to find a particular instance by
it's caption / doc name, then have at the "FindPart" example on Karl
Peterson's site:
http://vb.mvps.org/samples/
-Tom
MVP - Visual Basic
(please post replies to the newsgroup)
.
- References:
- how to bring an application to front
- From: Alessandro
- how to bring an application to front
- Prev by Date: Re: Window focus
- Next by Date: Re: Modify registry Key name
- Previous by thread: Re: how to bring an application to front
- Next by thread: Re: how to bring an application to front
- Index(es):
Relevant Pages
|