Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot save changes to classes (vcx file)

Status
Not open for further replies.

ganj

IS-IT--Management
Nov 3, 2001
19
AT
I had to dig out an old project which I last touched in 1999. The project is based on Codebook 6.1 and written VFP 6.

Surprisingly, I am confronted with a rather situation I don’t understand:

I open a class (modify class acurrency.vcx), make some changes (add code, reposition controls, etc.). When pushing the save button, however, VFP starts going mad. I notice heavy disk activity for minutes until my HDD is full or an "index seek error" dialog is shown. The only way out is to kill VFP in the task manager. In Explorer, I am checking the file size of the vcx class files and surprisingly, the file size has grown to 1 GBytes and more. The class is damaged.

I restore the class from a backup assuming vcx might have a bad table structure. I open the vcx file in question with a use command, issue a pack / pack memo command – no error, all done by VPF! My conclusion: the vcx file is okay. But why does VFP not let me save any changes?

I am having this problem on 3 different pc's, and on VFP6-SP3, VFP6-SP5, VFP7-SP1.

Any ideas what's happening here? How to solve this problem and let me save the changes to my modified classes? I am in trouble...

Thanks a lot,

Joseph
 
check the attributes of all the files that are part of the class. It may be possible that they one or more may be read only. this can happen if at some time they were under some source control program. Attitude is Everything
 
ganj

You may want to try copying your class (or subclassing it). Take a look at thread184-341066.
Mike Gagnon
 
Mike,

thanks for pinpointing me to some direction. Unfortunately, this didn't solve my problem. I recreated all vcx files (codebook and own) using the thread you mentioned, but nothing changed. Still, VFP crashes with an "Internal Consistency Error" when attempting to save a class for about 10 minutes.

rgds, Joseph
 
This is a weird one!

Can you save even a simple class? I assume so.

I'd be very much interested in seeing that class.

Looks like a juicy problem, but I'm sure you'd rather not have it.

Darrell

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top