I say "a solution" advisedly: Excel warns that another application may be using the clipboard - thereby preventing it being cleared (because e.g. the other application has "locked" the clipbaord.) But even if it were true, how does one identify the offending app? The hard way... quitting them one by one and seeing when the fault goes away. As a result of which I found an offender: the Skype add-on for Firefox - and whilst other applications have also been noted as being at fault, the only one I had previously noted was rther more obscure than Skype.
I had tried all sorts of cleverness (such as adding DWORD AcbPreventPreemptiveCollect = 1 to HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\General; checking that rdpclip wasn't running; worrying about the VM integration features of Windows 7's XP Mode, etc.), none of which worked, and then for some reason just thought I'd be methodical with the only other major app that was running - FireFox.
I restarted it in safe mode and the Excel error (which actually only affected Drag and Drop, rather than cut and paste per se) disappeared. I then went through the Add-ons disabling all and re-enabling one by one until the culprit was found. To be honest, I had expected the Adobe Reader plug in to be at fault, but it wasn't.
Hope that helps lots of people with various clipboard problems in various versions of Excel and various Microsoft operating systems.
Wilkommen, Bienvenu, Welcome... Sziasztok!
Welcome to The Lotus Position, an intermittent collection of extempore navel gazings, ponderings, whinges, whines, pontifications and diatribes.
Everything is based on a Sample of One: these are my views, my experiences... caveat lector... read the Disclaimer
Everything is based on a Sample of One: these are my views, my experiences... caveat lector... read the Disclaimer
The Budapest Office - Castro Bisztro, Madach ter
Ponder, Scribble, Ponder (Photo Erdotahi Aron)
Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts
Wednesday, 22 December 2010
Tuesday, 22 July 2008
Windows Cannot Find... Resolved!
Ha!
Recently, whenever I double-clicked a Microsoft Word (Word 2002/Word XP) document, Word would start but I would also get an error message from Windows that ""Windows cannot find..." and then the full path to the file I just double-clicked . Naturally I was able to open the file perfectly well once Word was running.
I don't think the general cause or symptoms are application or Windows version specific, so the hint should be good across the board... Vista, XP...
So what gives in this particular case? It could have been a shortcut whose target no longer exists, a missing registry entry perhaps, or if it had been an Excel document (Excel ~20020 ) it might have happened if Excel had been set to ignore other applications - but it wasn't, though the Excel thing a clue (it's a DDE - Dynamic Data Exchange - thing in the end... (or Automation (as they call it now, I think)).
In this case it was all to do with "AutoExec" - which was taking too long to run (lots of Programmatic Stuff). Microsoft has a knowledgebase article for Word2000 that says if AutoExec includes a "Wait" this error can arise, but it's really not the waiting that's important it seems, it's how long the AutoExec takes to complete before Word can respond to the Windows instruction to open the file.
So, the message "Windows cannot find..." is, not unusually, completely misleading: Windows can, has found the file - but the application requested to open the document hasn't responded in time.
And that's it really... to work around the issue I simply took all the long winded stuff out of AutoExec, put it in "delayedAutoExec" and put in this line in the leaner, slimmer, more responsive AutoExec. The delay is short but just long enough for Word to OK the document open request.
Application.OnTime when:=Now + TimeValue("00:00:05"), Name:="delayedAutoExec"
I expect it's also going to cure the bizarre error that was "Application.Activate" failing (during the AutoExec code) because there wasn't, as far as VBA was concerned, any Application to activate!
et voilà, the file is no longer not found.
Pie/Cake Stuff.
Recently, whenever I double-clicked a Microsoft Word (Word 2002/Word XP) document, Word would start but I would also get an error message from Windows that ""Windows cannot find..." and then the full path to the file I just double-clicked . Naturally I was able to open the file perfectly well once Word was running.
I don't think the general cause or symptoms are application or Windows version specific, so the hint should be good across the board... Vista, XP...
So what gives in this particular case? It could have been a shortcut whose target no longer exists, a missing registry entry perhaps, or if it had been an Excel document (Excel ~20020 ) it might have happened if Excel had been set to ignore other applications - but it wasn't, though the Excel thing a clue (it's a DDE - Dynamic Data Exchange - thing in the end... (or Automation (as they call it now, I think)).
In this case it was all to do with "AutoExec" - which was taking too long to run (lots of Programmatic Stuff). Microsoft has a knowledgebase article for Word2000 that says if AutoExec includes a "Wait" this error can arise, but it's really not the waiting that's important it seems, it's how long the AutoExec takes to complete before Word can respond to the Windows instruction to open the file.
So, the message "Windows cannot find..." is, not unusually, completely misleading: Windows can, has found the file - but the application requested to open the document hasn't responded in time.
And that's it really... to work around the issue I simply took all the long winded stuff out of AutoExec, put it in "delayedAutoExec" and put in this line in the leaner, slimmer, more responsive AutoExec. The delay is short but just long enough for Word to OK the document open request.
Application.OnTime when:=Now + TimeValue("00:00:05"), Name:="delayedAutoExec"
I expect it's also going to cure the bizarre error that was "Application.Activate" failing (during the AutoExec code) because there wasn't, as far as VBA was concerned, any Application to activate!
et voilà, the file is no longer not found.
Pie/Cake Stuff.
Thursday, 29 November 2007
Not Pat Garret but Chilly (a bit)
Just so you know, when I looked at the temperature gadget this morning (at what was not by any means an ungodly hour - 8:30 ish I suppose) it was -6C here in Budapest. That's quite cold - though possibly not quite as cold as the bus stop at Luton Airport in November.
Now it's only -1C, but though I may not be huddled over a candle in a creaky attic, struggling to hold the quill in my benumbed fingers in order to scratch out whatever words of wisdom the Muses may confide, it's not all wine and roses...
OK, there is mulled wine available now that winter's here but, allow me to list for you some of the trials and tribulations I must overcome each day.
Firstly, it gets a tad nippy here in the corner (see pic for precise location within Castro Bisztro). Apparently the wall behind me is a plasterboarded window and it can get a bit draughty through the hole they cut to the electrical socket, though whether its a mere sough or howling arctic gale does depend a bit on the wind direction it seems.
The whole temperature situation is exacerbated by the fact that the place is - as is common here - centrally heated, but not in the English sense of "central" to one's own place, central to the whole building... so it turns off when everyone goes to work, i.e. when I get to work.
And yesterday, someone must have mistaken Oil of Cloves for some couture perfume or aftershave and then over-egged the pudding. Ye gods! It made my eyes water. [Actually, now I think about it, it could have been the foralt bor (mulled wine) coming to the boil... whatever it was it was mighty powerful.]
And I have to periodically reset the cable modem and linux system that runs Castro's wifi . Yes Linux may be very attractive and easy to understand if you have the personality of Linoleum with Asperger's but trying to work out what it's up to actually makes me appreciate Windows. Sometimes I just sit in front of the screen, rocking and banging my head on the keyboard - but to be fair Windows has that effect too sometimes.
And my coffee gets too cold too quickly.
But, I keep at IT... it wouldn't be art without a bit of suffering, would it?
Always Scribble, Scribble, Scribble, eh?
Maybe I could ask for another lump of coal?
Now it's only -1C, but though I may not be huddled over a candle in a creaky attic, struggling to hold the quill in my benumbed fingers in order to scratch out whatever words of wisdom the Muses may confide, it's not all wine and roses...
OK, there is mulled wine available now that winter's here but, allow me to list for you some of the trials and tribulations I must overcome each day.
Firstly, it gets a tad nippy here in the corner (see pic for precise location within Castro Bisztro). Apparently the wall behind me is a plasterboarded window and it can get a bit draughty through the hole they cut to the electrical socket, though whether its a mere sough or howling arctic gale does depend a bit on the wind direction it seems.
The whole temperature situation is exacerbated by the fact that the place is - as is common here - centrally heated, but not in the English sense of "central" to one's own place, central to the whole building... so it turns off when everyone goes to work, i.e. when I get to work.
And yesterday, someone must have mistaken Oil of Cloves for some couture perfume or aftershave and then over-egged the pudding. Ye gods! It made my eyes water. [Actually, now I think about it, it could have been the foralt bor (mulled wine) coming to the boil... whatever it was it was mighty powerful.]
And I have to periodically reset the cable modem and linux system that runs Castro's wifi . Yes Linux may be very attractive and easy to understand if you have the personality of Linoleum with Asperger's but trying to work out what it's up to actually makes me appreciate Windows. Sometimes I just sit in front of the screen, rocking and banging my head on the keyboard - but to be fair Windows has that effect too sometimes.
And my coffee gets too cold too quickly.
But, I keep at IT... it wouldn't be art without a bit of suffering, would it?
Always Scribble, Scribble, Scribble, eh?
Maybe I could ask for another lump of coal?
Subscribe to:
Posts (Atom)
