>How does one determine if a window exists on the WINNT desktop or if an app is running from within VFP?
>Cheers
>Campbell
If you know the title of the main window you looking for, try this:
DECLARE INTEGER FindWindow ;
IN WIN32API ;
STRING cNull, ;
STRING cWinName
TitleOfTheScreen = 'title'
IF !FindWindow( 0, TitleOfTheScreen ) > 0
**the windows does not exist!
ENDIF
HTH :0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca