HanneSThEGreaT
June 30th, 2009, 07:58 AM
Hello guys.
I'm getting really really frustrated with Word's Document Recovery Pane everytime I launch Word - it is making me very mad! :mad:
I'm busy with a program which assists me with all my exams, right, now, with this program I'm launching each program associated with each exam. After the document / spreadsheet etc. is shown, I mark what I need to, then, I have a button which closes the current process, and returns me to my default application interface.
All this is working, except for the .doc files, Word files. :mad:
Everytime I launch word, I get the Document recovery pane!
I've tried the following :
If SSSubject = "WINWORD" Then
For Each SSProcess In SSNoteProcess
SSProcess.CloseMainWindow()
SSProcess.Kill()
Next
Dim winHwnd As IntPtr
winHwnd = FindWindow(vbNullString, SSSubjectFold)
If Not winHwnd.Equals(IntPtr.Zero) Then
PostMessage(winHwnd, WM_CLOSE, 0, 0)
End If
End If
As a last resort ( and this doesn't work ), because WordDocument.close does not work, WordApplication.Quit does not work!
By, saying it doesn't work, means it closes everything, yes, but the Document Recovery PAne always shows up, and I can't understand why!
Is there some way of disabling it completely ¿
I know some will say it is not a good idea, I know, I know :rolleyes: I really need to get rid of it.
Please, please, please, if anyone can help me it will be greatly appreciated :)
// At the rate I'm pulling out my hair today, I'll be bald soon.... :o
I'm getting really really frustrated with Word's Document Recovery Pane everytime I launch Word - it is making me very mad! :mad:
I'm busy with a program which assists me with all my exams, right, now, with this program I'm launching each program associated with each exam. After the document / spreadsheet etc. is shown, I mark what I need to, then, I have a button which closes the current process, and returns me to my default application interface.
All this is working, except for the .doc files, Word files. :mad:
Everytime I launch word, I get the Document recovery pane!
I've tried the following :
If SSSubject = "WINWORD" Then
For Each SSProcess In SSNoteProcess
SSProcess.CloseMainWindow()
SSProcess.Kill()
Next
Dim winHwnd As IntPtr
winHwnd = FindWindow(vbNullString, SSSubjectFold)
If Not winHwnd.Equals(IntPtr.Zero) Then
PostMessage(winHwnd, WM_CLOSE, 0, 0)
End If
End If
As a last resort ( and this doesn't work ), because WordDocument.close does not work, WordApplication.Quit does not work!
By, saying it doesn't work, means it closes everything, yes, but the Document Recovery PAne always shows up, and I can't understand why!
Is there some way of disabling it completely ¿
I know some will say it is not a good idea, I know, I know :rolleyes: I really need to get rid of it.
Please, please, please, if anyone can help me it will be greatly appreciated :)
// At the rate I'm pulling out my hair today, I'll be bald soon.... :o