Thanks, Darren, for the validation!
For clarification, this happens when no other routine is running in VFP in any instance.
Steps to reproduce: 1. Open VFP 2. Open method on form "modify class formname of c:\work\gga.vcx" 3. Highlight text, press CTRL+C 4. Locked-up city
I usually just use task manager to kill the instance of VFP, which likely leads to the corruption of the FOXUSER.DBF table...
Mike Copeland
Darren wrote:
No solution ... but I have a similar issue and have just worked around it - if I have a VFP app running and I try to use VFP itself (command window, prg editing etc) then any use of the clipboard just takes forever. Be interested to see if anyone else has the issue. The work around is to run the application on a different machine.
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Mike Copeland Sent: Friday, 26 February 2016 6:58 AM To: profoxtech@leafe.com Subject: VFP9 copy to clipboard causes VFP to 'hang' for long period
I've had this annoyance for years...but it recently got really bad.
When I have a code window open (like for a form method) and I highlight a word or string of word in the program code, as soon as I CTRL+C or click the copy icon on the toolbar, VFP goes to lunch..."Not Responding"...window goes white-ish.
If I let it sit, long enough (like up to 5 minutes), it will eventually recover...until I commit the same mistake of trying to copy text to the clipboard. (Which I do in order to search for other occurrences, etc.)
I had this trouble in the past and I finally decided to try the NUKE solution and deleted the FOXUSER.DBF file. BOING! Fixed that problem! Copy works like a big dog on steriods now! Unfortunately, it also dumped all of the other 3000+ settings and things VFP keeps track of for reuse later. Things like smartcomplete where you type "do<space>" and it pops up a list of all the programs you've recently run...which I depend on a lot!
After a while, that good stuff builds back up and things are good again, but the COPY to clipboard seems to be even worse now (freezing for even longer periods.)
So, my question: Is there a way, like PACKing or deleting a certain row in the FOXUSER file, to get the COPY to clipboard to work as it should but without loosing all the good stuff VFP remembers? (like projects recently worked on, etc.)
Thanks for any guidance...heck I'll even take a LMGTFY or three if it helps!
Mike Copeland
[excessive quoting removed by server]