Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VCT corrupted
Message
From
06/09/2008 19:32:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
06/09/2008 18:16:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01345454
Message ID:
01345461
Views:
17
>Any way to fix this within the VFP environment? I mean is there any way out of this mess beside restoring from backup?
>
>The weird thing is that I have a good version of that class but I can't copy it to the directory where there is that bug. The copy seems fine (length and date are the same as the good version) but when I try to open it I receive an error message saying that the vct is missing or invalid.

You must keep vct and vcx in sync as a pair. The seemingly matching pairs may actually not match - try to copy both vcx and vct.

Before you do that, copy the bad ones into a temp directory ... if your latest changes were in the code only, they'll probably be some text near the bottom of the vct file... which is some text, some binaries. Open the temp copy of .vct in your favorite editor, scroll to the bottom, and start picking favorite stuff you thought you lost. You may be missing the last block or two, but the rest should be there. Use that as a source from which to update your backup.

Or if there weren't too many changes, it may be simpler to redo them on the backup.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform