Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object in running pgm not version Project Mgr points to.
Message
 
 
À
12/01/2010 02:36:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01443376
Message ID:
01443392
Vues:
112
>While trying to clean up old junk and get away from spurious I/o errors on an old laptop, I copied source, libs and tables to a new folder on another computer. (this nrwer computer had run and still has files of prior versions of same application, however). Now, two versions of one important object that was built using the graphical IDE are showing up.
>
>The difference in the two versions is the Click event code of a button control that is a few layers deep in containers. The Project Manager and Class Browser, both display the better version of that event code when I drill down to the button. However, the ViewCode (opened from Class Browser) has the (generated) "Class" line pointing to a different directory, but has the desired event code. Similarly, requesting Modify of the object from Project Manager has the later (and desired) event code, as does the GUI Class designer. Using the Debugger, the old event code appears in the source panel when running that event code. The Project Manager does not display a "Path" for class objects.
>
>My question is how do I get the desired code into the actual running program? I ran into this about a year ago and received answers indicating various recompile scenarios. I've tried a bunch of compiles as well as importing prior versions of my .vcx/.vct files.
>
>Appreciations in advance,
>Gene

Gene,


Did you try to open classlib in question
use myClassLib.vcx exclusive
pack
use
compile classlib myClassLib.vcx
You can also pack the project file.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform