' mobjCurrentDocument.Save with Word 2002 gives the error 4605:
' "The Save method or property is not available because this document is in
' another application".
' This was raised...
I have a test VB6 exe project with a WebBrowser control, called web1 (added via Project, Components, Microsoft Internal Controls). My project also references the Microsoft Word 10.0 Object Library.
...
There is no reason why the time out code should not work in a release build, so a bug must have been introduced some where. You need to debug the release build to find this bug.
...
Pardon me for butting in, but I think what Krishnaa means is that if you hook WH_GETMESSAGE, and the WM_SETTEXT message, then you will be able to detect when the application sets the text of the...
It is good design to release resources within the same scope as they are acquired. So if you allocate memory in your document, you should also release it within your document (e.g., on destruction)....
The WM_TIMER message is not accurate for what you require; they are processed at low priority, and are often delayed whilst other higher priority messages are processed. I think what you need is...