Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>The .ERR file is simply reporting the source for a line of code it can't compile. If VFP is trying to compile that line, AFAIK "ADD OBJECT" is not a valid VFP command.
>
>If that's the case, where did it come from? Do you recall how you added that line to your class?
If I'm not mistaken, ADD OBJECT is a clause that could appear in DEFINE OBJECT / ENDDEFINE block -- which means it really only should appear if defining classes programmatically rather than visually in a VCX. This would lead me to think at some time Class Browser was used to view the source code, then some of it was copy/pasted into the snippet window within the VCX class.
Of course once you've mucked about with a VCX enough, you're likely to damage the VCX further rather than repair it (especially if you open the VCX as a DBF and muck with the contents of memo fields directly -- don't ask how I know this). It's usually easier to restore a good copy from a backup at that point.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement