Error - Open clipboard failed - clipboard

I am using Visio professional 2003. It was working fine. But now when I copy and paste any shapes it showing the error "Open clipboard failed". After that I am not able to change any properties or name.
When I try to close the window it is showing warning as "You cant quit visio program because a program is handling an event from visio. If VBA at break point, reset VBA, then quit"
Can anyone tell me what the problem is?

this has been a problem with Visio for 7 years and the last 3 versions of the product(Visio 2003 to Visio 2010).
The issue happens if you are running some other clipboard manager, like ditto or similar. The only thing you can do is use task manager to kill visio, then disable any clipboard manager you are using and restart visio.

It is working fine after i restarted the system.

I'd like to ring in that I had this issue when a Citrix session remoting to server 1 which was remoting to server 2 went into "triple lock": The screen saver in all three servers had kicked in. Ditto went crazy as did every app that I used the clipboard in.
Once I unlocked the sessions (which were lagging like crazy) everything went back to normal.

On my side the issue was coming from Citrix. Thx for pointing that out Vincent.

Related

Common dialogue control seems to keep my programs running after I close them

I currently run a 64bit Windows 10 development box. I have old VB6 source that I have to unfortunately keep updated for the time being. For some reason all the sudden I noticed that one of the applications I have just built seemed to stay running in the background after the GUI was closed.
I started debugging the issue more and more until I found out that the only time it would seem to persistently stay open in the background after the GUI was closed was if I clicked the button on my form that would call the Common Dialog control to show the file open GUI. I only have to show the file open window and then hit cancel for this to happen.
This ONLY seems to happen on ONE of my dev machines (not the other). Every time I use that CD file open box I have to open task manager up and end the task. I also tried to make sure all forms were closed when my main form starts to Unload. Nothing seems to work or shed any clue on what the issue is. I have also double checked that the following files are now all the same coping them from the known working dev machine to my broken one and re-registering them.
COMDLG32.OCX
comdlg32.oca
comdlg32.dll
COMDLG32.DEP
Both machines are running the same exact OS Win10 Pro 64bit.
That does sound strange, getting different results on the two machines. Pragmatically, you can work around the problem (without actually understanding it) by making sure that you execute an End statement. (You can put it in the QueryUnload event to make sure it's hit if the user clicks the "X".)

After Windows 10 latest update VB6 hangs

Last night Microsoft Decided to Update Windows 10. I have been running VB6 on Windows 10 since Windows 10 was originally released. Now when I try to run VB6 the VB6 splash screen is displayed and then I get a window titled Windows Installer, a message that says Preparing to install, a button that says Cancel a window titled Windows Installer, a message that says Preparing to install, a button that says Cancel. This window is modal and does not allow me to get to VB6. If I click Cancel the process repeats. If I click on a .vbp the same thing happens. Please help
Thank you
Charlie
I don't know if I should apologize or demand an apology from Microsoft. I right clicked on VB6 and chose Compatibility Checker. After it ran, Microsoft decided to update office 2010 Single Image (whatever that is). Then I clicked on Test the Module and guess what? It worked. I so hate updates...I had this problem and now my computer reboots every night, thus trashing any open files and ruining my Free Cell game :-)
Hope this helps somebody else who is frustrated.
BTW shouldn't it be Windows' Installer. Doesn't the Installer belong to Windows?
Happy Computing
Charlie

Suppress message: "python.exe has stopped working"

I'm running Python 2.7 with ArcGIS Desktop 10.1 on Windows for Server (2 Xeon 2.13 Ghz processors).
Is it possible to suppress or automatically close the dialogue box from Windows that says "python.exe has stopped working" when python crashes? I have a continuously running, multiprocessing script that sometimes crashes for unknown reasons (working on that). When I click to close the crash report window, the script restarts and everything is okay. I want this to happen automatically until I can track down what is causing the crashes.
Thanks very much!
Doug
Procedure for disabling the Windows Debugger dialogue box found here:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb204634(v=vs.85).aspx
This prevents the debug dialogue box that requires the user to click [Debug] or [Cancel] if python crashes.
However, there is now another Windows dialogue box that says "python.exe has stopped working. Please close the program" with a button [Close Program]. Sheesh!
The dialog you refer to is part of Windows Error Reporting.
The exact method varies between editions of Windows (Windows 7 instructions here, Google will happily provide for other versions...), but if you disable this feature of Windows, your crashes will happen a lot faster(!).
This is an simply an arcpy bug. You can try to avoid using the steps that are causing the crash, but it generally happens under different tools when used to process through a long list of data.
The only workaround I have found is to make my script save its progress along the way to disk so if you restart the process, it knows where to pickup from.
If you then disable windows debugger message by altering the registry (see below), you can then just repeatedly execute the script in cmd.exe until it completes the entire batch without having to close the process manually every time in between.
I know this is an awful workaround, but it is quite uncommon to have a python library kill off the python interpreter.
DWORD HKLM or HKCU\Software\Microsoft\Windows\Windows Error Reporting\DontShowUI = "1"
DWORD HKLM or HKCU\Software\Microsoft\Windows\Windows Error Reporting\Disabled = "1"

How to fix "Unable to activate Windows Tailored application" on Win8

I get "Unable to activate Windows Tailored application" error in Metro app when I'm running it under debugger of Visual Studio 11. I installed Windows 8 x64 Developer Preview on my Dell E6510 laptop.
I googled it and found out many people saying it happens when screen resolution is smaller than 800x600 but it's 1920x1280 in my case.
The app itself contains nothing. It's just empty wizard created application which is nothing but windows with black background.
Any ideas? It seems like very common issue.
The solution was quite bizarre but I figured it out.
It turns out not a single Metro application works under Administrator account including my apps. I'm talking about built-in Administrator account that is disabled by default (but which I enabled).
It gives "Access denied" error so I suspect it's somehow related to the way WinRT COM objects were registered or something like that. Go figure.
I hope somebody from Microsoft is reading this.
Best solution is to wait 2 weeks for the next release. The developer preview is full of fun bugs like this. I've seen this error caused by invalid app.xaml. Double check that you really haven't changed anything. I've also seen this error sometimes resolved by rebooting. Have fun!

zend studio 5.5.1 on windows xp - won't open!

I have been using zend studio 5.5.1 for the last year and and a half (on windows xp), with some occasional issues, such as a blank error dialog box when I started the program, but always went away when i restarted my computer, and usually got messages about javaw.exe errors.
But now, the program does not open at all. What happens is, I get a little dialog that says Loading project - this is normal... but then, nothing. The zend program item is sitting in the taskbar, but when i click on it - nothing! there is nothing to show. i can right click and press close, but that is all.
restarting computer did not help. i just uninstalled it, downloaded again from zend website, and reinstalled. tried opening - get loading box, seems to have loaded, even got tip of the day box. but there is nothing showing behind them. once i closed the tip box, i dont have any indication that zend is open besides the program item in the taskbar. windows task manager says it is running...
anyone have a clue? help!!! thanks
UPDATE:
I found this blog post with a fix for Linux... I am a windows user and that is greek to me, anyone who can translate for me what I can do for windows?
wow, did a google search for the equivalent of rm -r ZDE as suggested in the link above, and then I typed the following in the cmd prompt: rmdir /s ZDE
voila! it works!!!!
Running Zend Studio 5.5.1 on Windows 7:
Right click Zend-icon for Windows 7 program properties
On Compatibility tab set modus to Windows Vista and apply
Enjoy!

Resources