Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building confidence in Visual Modeler
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00326164
Message ID:
00326614
Views:
22
>Hi Markus,
>Since you did such a great job with the New VFP VM wizards, I'm hoping you can dispel some of my anal retentive fears here...
>
>I started a VFP project with a commercial framework (MereMortals to be exact, & it sets up you application specific vcx's and whatnot for me). I pulled in all the core classes that I needed to extend into VM with the Reverse Engineering Wiz. I beat these classes to death, and in the process ripped apart my VFP project with testing stuff before incorporating things into my VM class diagrams. I wasnt too careful with the stuff I messed with in VFP since I had a copy of everything in VM.
>
>So now I got all my modeling done, and my VFP project is trashed. The question is can I just run the code generation wizard to apply my modeled stuff back against the original project libraries and be able to count on the Wizard to set everything back to the way it was before I trashed the VFP project? OR should I stick with the "better safe than sorry" philosophy and just ditch the original project and have the framework's quick start utility create me a new project to run the code generation wizard against?
>
>OR am I assuming wrong here - is the Code Generation Wizard setup to strictly create new classes as opposed to exporting the model out to existing classes?
>
>TIA!

It's hard to answer this question.

In general, you can just run the code generation wizard to update your project. However, keep in mind that the code generation wizard only deals with the class structure, proeprty definition, method definition, inheritance, and the like. It does not deal with the actual code you have in your methods. So depending on how badly your project is messed up, it may not work.

But I'd say it is at least worth a try.

Regards,
Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Previous
Reply
Map
View

Click here to load this message in the networking platform