|
|
Subject:
"Clipboard cannot be emptied"
Category: Computers > Programming Asked by: abcd12345-ga List Price: $10.00 |
Posted:
22 Aug 2003 11:33 PDT
Expires: 21 Sep 2003 11:33 PDT Question ID: 247679 |
Sometimes when excel xla processes are run , after a period of time we get an intermittent macro error that "clipboard cannot be purged" or "Clipboard cannot be emptied" . We try to reproduce the error by running through debug mode but are never successful. It happens only once in a while and not on all the environments. Does it have to do with the memory on the machine? How do we resolve this issue? In the code, we are trying to hWindow = GetClipboardOwner() OpenClipboard(hWindow) EmptyClipboard() CloseClipboard() We searched all over the net but could not find a similar issue or resolution. Please get back to us with the resolution. We already got a resolution from one of the google searches but would like better information. The information we got is http://www.foxite.com/archives/0000024277.htm | |
| |
| |
|
|
There is no answer at this time. |
|
Subject:
Re: "Clipboard cannot be emptied"
From: bavi_h-ga on 22 Aug 2003 15:52 PDT |
I'm thinking your error may be caused by EmptyClipboard or one of the function calls before it. I was recently writing a C program that uses the clipboard. In C, each of the clipboard functions has a special way to return an error code. I suggest you carefully read the documentation on these functions. You appear to be using Visual Basic for Applications (VBA), and I'm not familiar with how that works. However, the following pages may be helpful to you. How to Send Information to the Clipboard http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q138/9/09.asp&NoWebContent=1 Shows how to send information to the clipboard using VBA. Seems to be written for Microsoft Access, but in VBA code. MSDN: Clipboard http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard.asp This set of pages from the MSDN gives documents the clipboard functions in C. These functions may be similar to the VBA ones... |
Subject:
Re: "Clipboard cannot be emptied"
From: abcd12345-ga on 28 Aug 2003 08:18 PDT |
The recycle bin is entirely empty. I don't think any of the automatic processes use it. The page file size is 3108 MB, and the setting is "Optimize for Background Processes" instead of optimize for Applications. I imagine any background processes that are running would be the same across all environments - this is a clean, production environment piece of hardware. Is adjusting page file size or the optimization setting an option? |
Subject:
Re: "Clipboard cannot be emptied"
From: rbaker323-ga on 06 Sep 2003 15:54 PDT |
This happens to me when I am using Dragon Naturally Speaking which is in my startup and is open before I open excel. My solution is to close Dragon and reopen it with excel open. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |