Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2.6->VFP Form converter
Message
From
01/11/2005 09:23:53
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Novell 5.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01063841
Message ID:
01063974
Views:
18
We did this about 2 years ago. We had to convert hundreds of screens. I started out doing a functional conversion of all screens and then moving the code from the methods the converter placed it in to a more appropriate location. About 1/3rd of the way through I changed my process. I created a form class that contained other new custom methods I wanted for all of my forms first. Then I did a visual conversion of a fpd26 screen. I would then open up a new blank form based on my form class and copy/paste the objects from the visually converted screen to the new blank form. Next step was to move the code from the prg created during the conversion process to the correct methods of the form. Last step was to modify the properties of the new form to standard values (such as the font and height of textboxes, etc) and modify the prg or menu option calling the form to use the correct syntax DO FORM ...

This may help you:

http://www.dfpug.de/loseblattsammlung/migration/whitepapers/Convertvfp3.htm

Having written all of that, ideally you would do a rewrite using a good framework. Barring that, at least create a form class that contains any uniform settings you wish for all of your forms. Perhaps a custom method or two and ensure your new forms are created using that class for easier maintenance down the road.

Note: like you we had a deadline. The fpd26 app was originally written in 1991 and progressed over the years. It was huge and contained 425 screens, 712 programs, and over a hundred reports. We had 3 months to do the conversion and get a beta version out. That was 3 months of long hours and it covered christmas. After the initial conversion we added greater user tools by using dbi tech controls, pdf generation and printing, etc.



>I am looking for software to assist in the conversion from Fox2.6/W Screens to VFP forms. I thought I had found a company in PA that had such a product, but they said they wouldn't sell it because it was "antiquated." I'm not worried about that, it's the 2.6 screens that are antiquated ...
>
>Does anyone know of any such conversion utilities that are still actually available?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform