Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object in running pgm not version Project Mgr points to.
Message
From
12/01/2010 02:36:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Object in running pgm not version Project Mgr points to.
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01443376
Message ID:
01443376
Views:
218
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
Next
Reply
Map
View

Click here to load this message in the networking platform