Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking the ClassBrowser
Message
From
09/01/2003 16:04:53
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00739964
Message ID:
00740024
Views:
14
Oh that is perfectly OK, what I am intending this program if for version comparisons. I have used the SCCTEXT program but it is not nearly as clear as a programmatic representation which is the result of the CB. I have developed a form which accepts two filenames, then runs them them thru Christof Lang's little code snippet to either use SCCTEXT or cursortoxml to develop a text representation. After this occurs the form calls CompareIt.exe passing the two textfiles. We often need to resolve diffences and a tool like this makes the process less painful.

Glenn

>>Has anyone hacked the CB (class browser) to cause it to produce a PRG from either a VCX or SCX? What I am interested in is calling the CB with appropriate parameters to cause it to instanciate, convert the paramaterized SCX/Class/VCX to a parameterized PRG, all this without showing its lovely face. I have be cruising thru the code and I see it is possible to extract and hack to make a standalone program for this purpose, but if someone has already done it why create another wheel?
>
>Hi, Glenn.
>
>I didn't this, but have in mind that the code produced by the class browser is not always runnable. Try producing the code from a form with a grid, for example, and run it as a PRG.
>
>There are certain things that the language doesn't allow to do in code (not straightforwrdly, at least), but the CB uses anyway. It mostly has to do with containership.
>
>If you can live with this limitation, then go ahead. It would be useful for some cases.
>
>Best luck,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform