ShellExecute( hDCScreen, "open", "winword.exe", "", "c:\", 1 ) ShellExecute( hDCScreen, "open", "winword.exe", "", "c:\", 1 )This seems to work ok though:
ShellExecute( hDCScreen, "open", "winword.exe", "", "c:\", 1 ) inkey( 2 ) ShellExecute( hDCScreen, "open", "winword.exe", "", "c:\", 1 )The 2 seconds is enough for the first instance of Word to get up and running before starting the second. Can you not just use a simple delay to generally solve your problem?