... an example. In this example shellexecute starts wordpad with efkes.rtf. The use has to close this aplication first before continuing. If this not occured , the program will do that. Shellexecute(0 ,0 , "C:\TEMP\efkes.rtf" ,0 ,0 , 1) hWnd := FINDWND( "EFKES.RTF" ...