On 03/26/2012 06:52 AM, Jack Skelley wrote:
> Good Morning All:
> I have a recurring issue in VFP9 SP2 that is starting to make me very unhappy.
> It seems when I recompile an application in to an exe I have random code 
> blocks in either defined methods or events on an object get erased. The 
> results is when a user clicks on (for example) the 'Cancel' button nothing 
> happens because the event code has been erased (I am assuming) during the 
> compile or perhaps when the form is saved the code is not saved with the 
> object.
> This application was developed in VFP8 where this phantom behavior first 
> surfaced. I converted the application to VFP9 and it still recurring randomly.
> I have written several other applications in VFP9 from the beginning and have 
> not seen this behavior.
> My next large project is to convert an application that was written in VFP6 
> SP5 that has nearly 200 forms with many methods and many objects. Every time 
> I recompile I will be thinking about these random blocks of code that will be 
> missing.
> Anyone else experience this and how can it be solved?
> Thanks for any insight.
> Best regards,
>
> Jack Skelley
>
> Jack Skelley
> Senior Director, Programming/Computer Operations
> New Jersey Devils
> (973)757-6164
> [email protected]
>

Jack:  This happened to me when I first started using VFP9.  I would 
compile scx's and it would put code in the wrong method.  I started 
putting a * this method ... so I could put the code in the correct 
place.  After numerous tries to figure it out, I felt it was the index 
of the scx.  So I re-indexed and haven't seen the problem since.

Don't know if this is exactly what you are experiencing, but it sounds 
similar.


Jeff

---------------

Jeff Johnson
[email protected]
(623) 582-0323

www.san-dc.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to