Hi Ken:

PRGs doesn't make corrupt, as text files doesn't corrupt. If you see a
corrupted text file, you see a bunch of rare characters, and not the text.

VCX classes can corrupt, because they are DBFs.



2014-10-09 19:08 GMT+02:00 Ken Dibble <krdib...@stny.rr.com>:

>
>
>> I seem to remember that in your initial description of this problem you
>> stated that you 'commented out' the procedure/class definition from the
>> original file.  Exactly how did you do this commenting out?
>> I've had several instances where I managed to get the same procedure name
>> in more than one proc file, with the result that the program wasn't using
>> the one I wanted it to.  IIRC, when you SET PROC TO multiple files, and the
>> files contain duplicate procedures, VFP will use the one that it loaded
>> last.  Is there a possibility that VFP somehow 'saw through' your
>> commenting and used the old one anyway?  Or something.....?
>> Did you actually REMOVE the original code and try it?
>>
>
> I commented out the code in one file, copied it to a different prg file
> with a different name, and left it uncommented there. The entire procedure,
> including DEFINE MyForm AS Form, and ENDDEFINE, were commented out in the
> original prg file.
>
> After I started having problems with this, I suspected corruption, so I
> copied all of the text out of the original prg file, and pasted it into a
> Notepad .txt file, saved it, closed it, re-opened it, created a new prg
> file and pasted only the code I wanted to keep from the txt file into the
> new prg file. In doing so, I completely left out the class definition I was
> trying to move. So I created a new prg file that had never contained that
> class definition.
>
> This had absolutely no effect. The problem still occurred, and was
> preventable by moving that class definition back into the new prg file and
> uncommenting it there.
>
> Thanks!
>
> Ken Dibble
> www.stic-cil.org
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAGQ_JunQfA6erGO70EPAFmUGPP_PnrY2vEydGM1CVzsE_Ugi=q...@mail.gmail.com
** 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