Hi, I am trying to write a little app that sits in the systray and monitors key presses for the "ctrl-z" combination, then minimize the window of an external process. Then maximize it again once finished what I want to do.

The external program is full screen (hasnt got and min/ maximize controls on it)

In Vb6 I could use the sendmessage() api call to tell the app the minimize itself.... but I dont seem to be able to find anything in VB.NET. I have the process object figured out but can't seem to find out how to minimize the processes window.

Anyone got any ideas?

Thanks

PS I tried the VB6 code in .net and it doesnt error... but then it doesnt minimize the window either