FoxProParser is a C#/.Net app (compiled to a command line .exe utility) which exports all properties and method code from FoxPro Scx/Vcx/Frx/Mnx table-based source code files into ASCII format which can be used to view the contents of the files in a text editor. The files can also be used as Source Control files for diff purposes when storing your FoxPro source files in Version Control repositories like Mercurial or GitHub.
Note: FoxPro is NOT required to be installed on the system to use this tool. (See Dependencies list at bottom of page.)
This tool could be used as a replacement to the SCCTextX tool, which is a FoxPro tool for basically doing the same thing. See http://vfpx.codeplex.com/wikipage?title=Alternate%20SCCText&referringTitle=Home
Example (from a DOS command window):
FoxProParser "C:\Source\Forms\MyForm.scx" > MyForm.sca
Yields this output to the specfied output file MyForm.sca:
[file_info] Filename: d:\work\lm4\forms\jobs.scx Filedate: 4/16/2012 12:56:16 PM [/file_info] [reserved1] VERSION = 3.00 [/reserved1] [class] dataenvironment [/class] [baseclass] dataenvironment [/baseclass] [objname] Dataenvironment [/objname] [properties] Top = 237 Left = 94 Width = 597 Height = 524 DataSource = .NULL. Name = "Dataenvironment" [/properties] [reserved2] 1 [/reserved2] [class] form_crud [/class] [baseclass] form [/baseclass] [classloc] ..\classes\mylib.vcx [/classloc] [objname] formJobs [/objname] [properties] Height = 649 Width = 1000 DoCreate = .T. BufferMode = 2 Caption = "Job Edit" MaxHeight = 800 MaxWidth = 1000 cbeforejobstatus = ('') laddmodecustomerset = .F. ... etc.
- Requires the VFP OLE DB driver to be installed on the machine.