Click here to Skip to main content
15,913,915 members
Home / Discussions / C#
   

C#

 
GeneralRe: shortcut to trigger event when not in focus Pin
crash8931-Jun-07 8:10
crash8931-Jun-07 8:10 
GeneralRe: shortcut to trigger event when not in focus Pin
kubben1-Jun-07 8:21
kubben1-Jun-07 8:21 
GeneralRe: shortcut to trigger event when not in focus Pin
crash8931-Jun-07 8:45
crash8931-Jun-07 8:45 
GeneralRe: shortcut to trigger event when not in focus Pin
kubben1-Jun-07 8:51
kubben1-Jun-07 8:51 
GeneralRe: shortcut to trigger event when not in focus Pin
crash8931-Jun-07 17:37
crash8931-Jun-07 17:37 
GeneralRe: shortcut to trigger event when not in focus Pin
kubben2-Jun-07 0:55
kubben2-Jun-07 0:55 
GeneralRe: shortcut to trigger event when not in focus Pin
crash8932-Jun-07 6:52
crash8932-Jun-07 6:52 
GeneralRe: shortcut to trigger event when not in focus Pin
kubben2-Jun-07 8:10
kubben2-Jun-07 8:10 
Ok, that is sort of what I thought. I did find one property in the process class that may help you. It is called Responding. Here is the MS help on it:
If a process has a user interface, the Responding property contacts the user interface to determine whether the process is responding to user input. If the interface does not respond immediately, the Responding property returns false. Use this property to determine whether the interface of the associated process has stopped responding.

If the process does not have a MainWindowHandle, this property returns

So I guess in that case you could have the other app always running and checking every so often to see if the winword has stopped responding. If after checking a few times it still isn't responding then kill it and relaunch.

Ben
Questionlist all running proccess in a textbox Pin
crash8931-Jun-07 6:24
crash8931-Jun-07 6:24 
AnswerRe: list all running proccess in a textbox Pin
kubben1-Jun-07 6:30
kubben1-Jun-07 6:30 
GeneralRe: list all running proccess in a textbox Pin
crash8931-Jun-07 7:43
crash8931-Jun-07 7:43 
GeneralRe: list all running proccess in a textbox Pin
kubben1-Jun-07 7:44
kubben1-Jun-07 7:44 
GeneralRe: list all running proccess in a textbox Pin
crash8931-Jun-07 7:46
crash8931-Jun-07 7:46 
GeneralRe: list all running proccess in a textbox Pin
kubben1-Jun-07 7:47
kubben1-Jun-07 7:47 
GeneralRe: list all running proccess in a textbox Pin
crash8931-Jun-07 8:02
crash8931-Jun-07 8:02 
QuestionGiving read,write access to a file Pin
xbiplav1-Jun-07 6:15
xbiplav1-Jun-07 6:15 
AnswerRe: Giving read,write access to a file Pin
originSH1-Jun-07 6:27
originSH1-Jun-07 6:27 
GeneralRe: Giving read,write access to a file Pin
xbiplav1-Jun-07 6:39
xbiplav1-Jun-07 6:39 
GeneralRe: Giving read,write access to a file Pin
Dave Kreskowiak1-Jun-07 6:49
mveDave Kreskowiak1-Jun-07 6:49 
AnswerRe: Giving read,write access to a file Pin
kubben1-Jun-07 7:20
kubben1-Jun-07 7:20 
QuestionString.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
Stevo Z1-Jun-07 5:13
Stevo Z1-Jun-07 5:13 
AnswerRe: String.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
codemagus1-Jun-07 5:15
codemagus1-Jun-07 5:15 
GeneralRe: String.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
Stevo Z1-Jun-07 5:18
Stevo Z1-Jun-07 5:18 
GeneralRe: String.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
codemagus1-Jun-07 5:29
codemagus1-Jun-07 5:29 
AnswerRe: String.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
Colin Angus Mackay1-Jun-07 5:50
Colin Angus Mackay1-Jun-07 5:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.