1.

Solve : Any way to recover clipboard??

Answer»

During normal work I wasn't suddenly able to use copy and paste and some applications gave me a message Cannot open clipboard. Is there any way to MAKE the clipboard functional again without restarting the computer?
It's Windows 7 Professional.Are you using Excel?http://answers.microsoft.com/en-us/office/forum/office_2010-excel/cannot-open-clipboard/6a4aa646-72fd-4f1c-9127-c3e12bc9a4b3Thanks for the tips, but my problem had nothing to do with Excel, the message Cannot open clipboard came from TOAD and then it wasn't possible to use the clipboard anywhere, Ctrl+C, Ctrl+V just didn't work even without the error message. Nevertheless, when it happens again I'll try to close IE8 or empty the temp folder or other tricks described in the underlying links.
You might try the Clipboard Manager gadget for Windows 7.  You can get it at http://windows.microsoft.com/en-us/windows/downloads/personalize/gadgets.  However, it may be affected by the same glitch you've encountered with the standard clipboard.

The Clipboard Manager gadget RETAINS multiple copy actions.  This happens if a program opens the clipboard, but never closes it. Until the clipboard is closed, no other application will be able to access the clipboard.

The Clipboard API and how applications use it is basically:

the clipboard can only be owned by a single application at a time. Typically, how a program pastes is to open the clipboard, retrieve the data, and insert it into the document. Then it closes the clipboard.

If a bug or other problem occurs that prevents an application from closing the clipboard for any reason- for example, maybe there is corrupted data and it throws an exception or an error occurs or some other logic error- it will keep the clipboard "owned" to itself, and any other application that tries to access it will not be given the clipboard handle.

To fix it, one "simply" needs to FIND out what application balls-up and close it. As PART of the process termination, all open handles- which includes the clipboard handle it accidentally opened- are closed and destroyed.

On that note, I just slapped together a small program that hopefully can be used if the clipboard has this issue to finger the culprit.



Discussion

No Comment Found