Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloads
Search: 

SourceCompare
Glenn Domeracki
Compare VFP sources generated from virtually all VFP program files, Forms,Libraries, Menus, Reports, Tables ... All source code included. You will need an ASCII file compare utility, however I did include the preview version of CompareIt. SourceCompare is pre-configurted to use CompareIt but can use virtually any other compare tool which accepts command line parameters. This work was compiled from public domain code from the following sources: Christof Lange, Ken Levy, Frank Camp. VFP 7.0 or above required.
Created on
21 years ago
Downloads
3606
File type
Freeware
Rating
4.83/5.00
General information
Rating:
4.83/5.00 (6 rates) Rate this item
Description
One of the most difficult and time consuming processes in a VFP development environment is resolving differences in versions of forms and Classlibraries. Because they are table based with arcane field names it is very tedious to identify differences and then to resolve them. We have had SCCTEXT which was somewhat helpful but it was not the easiest to work with to resolve differences, plus there were some problems with sorting of properties. We also have the Class Browser which generated a facsimile of a source for a SCX or VCX but there were many steps involved with creating the source files and then invoking the compare tool. This tool merges together SCCTEXT, ClassBrowser and CompareIT to form a combined tool. 2003/01/13 - Corrected bug in Form::Rightclick - Added the following file formats: MNX FRX LBX DBF DBC TXT XML HTM(L) H - Added DragDrop to textboxes for interacting with Windows Explorer - Enhanced initial messagebox dialog regarding CompareIt location - Enhanced ToolTip text messages enhance Form layout making the selection of Source type easier and more intuitive. Changed from SCCTEXT to improved MWFC_SCCTEXT, Created by Markus Winhard and modified by F. Camp, Sherrike and others. All defines are internal to MWFC_SCCTEXT thereby eliminating the need for external header files. All source code is included. 2003/01/15 - Removed WSH due to incompatibilities with W2000 - Added checkbox to allow turning ToolTips on/off - Versioned ToolTips to take advantage of VFP8.0 multi line 2003/01/24 - Added the following file formats: PJX QPR LOG ERR - You can now pass filenames as parameters to SourceCompare 2003/02/23 - Added version checking to prevent running in versions prior to VFP7 Allowed rational screen resizing Added About feature to system Help menu 2003/03/02 - Complete re-write of SCX/VCX source generation to allow 1. Sorting of imbedded objects (ADD OBJECT) 2. More accurate sorting of imbedded methods 3. Improved performance Added checkbox to control "Include" file statemnt Added checkbox to control "Filename" file statemnt 2003/03/11 Fixed bug in generation engine which could cause some methods to not appear in the comparison. Changed default behavior of "Include" checkbox to not generate include lines
Created by

Comments
Great tool ! Because one can pass file names as parameters is possible to integrate this tool with project manager to (for example) compare recent version of file with previous version that can be located in other (established) directory just by one click way. Nice is also that you can compare also dbc and dbf files and that object browser is used for generation text representation of scx and vcx files. If you use Source Code Control Software you can look at this tool also. If you do not use SCC software you should look at it. Thanks Glenn for your effort. Jozef Szpakowski, January 21, 2003

The link don't work! Please adjust it! Massimo Minini, February 18, 2003

The Link Now works - and I have downloaded the file. But the app is very buggy. It had bugs on initial "setup" , and also when trying to compare 2 .VCX files. In the end I gave it up as unusable. (VFP6 with all service patches - running on W2000) Russell Honnor, February 19, 2003

Please note: This program is written for VFP7.0 and will not run in any version of VFP prior to VFP7. If you are experiencing "BUGS" it is because you are trying to run it in an incompatible version. The links are maintained by the Universalthread staff and are not under my control. I want to thank Michael for correcting the link which was previously reported as bad. Glenn Domeracki, February 19, 2003

My humble apologies Glenn. I should have read the readme file a bit closer. Russell Honnor, February 19, 2003

What started me looking at this was something to "Fix" the problem when diffing .VCX's and .SCX's in Visual Source Safe. VSS/VFP uses the MS supplied SCCTEXT.PRG (in the home dir) - but changing just one line in a Form's method causes many spurious differences when diffing. i.e. it shows things have changed - when they havent. However I did find a "Fixed" version of the SCCTEXT.PRG - at http://mmfudg.lansing.com/tips_etc.htm Also there is an article in FoxPro advisor (Oct 1997 - pages 39-41) which explains the problems and the fix. Hope this helps other with this problem. (NB MS Supplied SCCTEXT.PRG still appears to have this problem in the version shipped with VFP7) Russell Honnor, February 19, 2003

I have started this in VFP 7 and I am impressed - it works flawlessly - and diffs even .PJX files. The CompareIT utility is also a significant improvement over Visual Source Safe's comaprison tool. Thanks for your contribution Glenn. Russell Honnor, February 20, 2003

Great tool - saved me hours - now if only we could parse the resulting source file and write it back to the VCX / SCX etc!!! David Younger, May 22, 2003

It appears that class properties that are not initialized do not appear in the comparison. i.e. if I add two properties to a class and take the default initialization, then compare this version with the version without those two properties, the classes will compare as identical except for the time stamps. The Reserved3 properties need to be merged with the Properties in BuildProperties. June Kendrick, December 30, 2008

I am using VFP 8 with SP1. I tried to create an EXE of the SourceCompare..... a) It wants to use a BROWSER.H which I did not have available at that moment. b) It had a "String to long error" when compiling (it would not show me the code).... c) It crashes in SCCTEXT.H on line 19 #INCLUDE "SCCENU.H" I don't have this file either..... What am I missing or doing wrong? Thaniks! Tommy Tillman, January 30, 2009

Link doesn't seem to work Naomi Nosonovsky, June 21, 2010

Add a comment
More downloads created from this member
Glenn Domeracki
Class Development Desktop Tool! If you develop in VFP7 + and use programmatic classes you are will love this new devlopment tool!. ClassView is a Desktop tool which displays the active editing session which contains any programmatic class library. ClassView is somewhat like Document View but ...
Created on
21 years ago
Downloads
1565
File type
Glenn Domeracki
Color Spelunker will help you map to system color in the mysterious colorsets. You can dig and probe the colorsets to determine and use the information to make your forms "different" but still compatible with the windows environment. Disclaimer: I do not recommend useing custom color for form...
Created on
21 years ago
Downloads
795
File type
Glenn Domeracki
This utility program replaces classes in existing forms with classes from other class libraries. You may elect to select from only those classes which are based upon the same base class as that selected in the form or choose from all classes in the library. Backs up orignial forms and allows for m...
Created on
22 years ago
Downloads
1236
File type
Rating
4.67/5.00