Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My classlib got abnormal compile error! Urgent!!
Message
From
26/05/1998 01:40:23
 
 
To
25/05/1998 10:56:53
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00101587
Message ID:
00101819
Views:
25
>>I want to cry if my classlib has problem.
>>
>>here is my classlib:
>>http://members.tripod.com/~justok/no_ime.zip
>>
>>I has a tree structure base on my old class in same vcx.
>>
>>+-- txt
>> +--- txtcal
>> +--- txtcalc
>> +--- txtDate
>> +--- txts
>>
>>
>>you can simple include this class and compile.
>>the Compiler claim that it cannot find 'txt'!!!
>>but I have already change the code in txtDate.Keypress
>>only one place call :: procedure..(Parent class)
>>
>>what can I do, it seem the .vct got problem but I cannot delete it!
>>~~~'.'~~~
>>
>>Thanks for help, sorry for break rule as very serious problem.
>>
>>I am very afraid if VFP load my classes wrongly.
>
>Does the class still work? Is the error only that it cannot find 'txt'? If it looks like VFP has scrambled some class code (which it has been known to do from time to time), there are a couple of things you can try. First, open your vcx as a table and pack it. IF this doesn't help, try moving the class to another library by opening two instances of the class browser and dragging the class to another library. if THAT doesn't help, looks like your stuck cutting and pasting code to a class started from fresh.



It will be more terrible to pack the VCX!!!
I call this because VFP claim my VCT file is corrupted when I try to Pack it!!
Even I change the coding in method field, the error still here.
I agree with u that VFP may scramble something... because:
if the parent class is another user-define type, there seem to place to put the
locate VCX on search!

Finally, I am lucky to pick up a 3 days before VCX and place the coding bit-by-bit to update the old VCX. Then, the problem seem solved.



Anyway, I want to know in what cases there MAY occur these serious problem.
I have spare some much time on VCX to define class, if corrupt...
Surely I lose many things. ~'.'~

Anyway, I recommend progr to backup at least 1-2 weeks program files to prevent
error.
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform