Groups | Blog | Home
all groups > vb.net > june 2004 >

vb.net : Control other app---Calculator


SStory
6/30/2004 10:18:49 PM
I would like to launch the calculator object.

Have it show at a certain X,Y coord and then next time the user clicks the
Calc icon on my app, if Calc is already running, have it maximize it if it
is minimized.

Is there a managed way to do something like this?

Thanks,

Shane

ps. if not what calls should I use to restore when it is minimized?

hirf-spam-me-here NO[at]SPAM gmx.at
7/1/2004 11:01:59 AM
* "SStory" <TheStorys@TAKEOUTTHISSPAMBUSTERsofthome.net> scripsit:
[quoted text, click to view]

No.

[quoted text, click to view]

P/invoke on 'ShowWindowAsync' + 'SW_MINIMIZE'.

--
Herfried K. Wagner [MVP]
SStory
7/1/2004 2:09:17 PM
Thanks,

I just decided to launch it, keep up with the process variable and if they
click again, just kill it and relaunch. That way I am sure it is on top and
don't need to introduce unmanaged code.

A managed way of sending message to another app would be nice.

Shane.

[quoted text, click to view]

AddThis Social Bookmark Button