Rob,
Move the _screen "off screen" first:
with _screen
.Left = -10000
.Top = -10000
endwith
>Here's a good one. I have an APP that I want to be minimized. However, if you make a call to get the current default printer the screen will return to normal !
>
>EG.
>
>_screen.WindowState=1 ?? minimize the app
>CurPrinter=SET("PRINTER",2) && the screen returns to a windowstate of 0 ie regular
>
>this is really stupid behaviour. I have tried setting TALK off , NOTIFY Off , Console OFF .. nothing works.
>
>Of course, I can get the current windowstate before the call and restore it after , but it is most annoying.