Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Diff utility
Message
From
22/07/2013 09:39:22
 
 
To
19/07/2013 14:34:24
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01578906
Message ID:
01578994
Views:
141
>Does anybody know of a good diff utility for .VCX files?


I found this thread: http://www.foxite.com/archives/vcx-to-prg-0000007017.htm

Which showed this:
lcProg = "c:\program files\microsoft visual foxpro 9\scctext.prg"
lcVcx  = "c:\myClass.vcx"
lcPrg  = "c:\temp\output_myClass.prg"

DO (lcProg) WITH    lcVcx, ;        && "c:\input.vcx"
                    "V", ;          && Type (see below)
                    lcPrg,          && "c:\output.prg"
                    .T.             && .T. means generate source code from table, .F. means table from source code

**********
* Types:
*   FORM        "K"
*   LABEL       "B"
*   MENU        "M"
*   REPORT      "R"
*   VCX         "V"
*   DBC         "d"
**********
Using this and the free utility WinMerge ( http://winmerge.org/downloads/ ), I was able to find a very desirable way to handle table-based diffs for forms, menus, containers, classes, and reports as this process can be automated and used to store viewable source code changes for binary table checkins in even standard source control management systems (like SVN or Git, for example).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform