>Hi All,
>
>I am reviewing the idea of moving a VFP app to c#. Although I am happy to re-write the business and data access layers I was hoping I could automate the winform creation. I wrote a small c# program to open up the scx file and pull out all of the controls and position correctly on th new c# form. This all worked well, but the problem is that this is all done at run time so I dont have the actual source code for the form.cs and form.designer.cs.
>
>Is there anyway to achieve this or anything similar?
>
>I have a hundred plus forms so even if I can get something semi automated it will save me some significant time.
>
>Thanks
>
>Jon
Have you read this:
http://code-magazine.com/Article.aspx?quickid=0703042Have you looked at EPS's converter? It actually works pretty well and you can customize it or add a secondary process of your own. All of the forms have to be coded correctly of course after conversion, but it gets them all into C# and brings in the VFP code on the form for you to review and redo. It's a nice starting point for complicated forms.
http://www.vfpconversion.com/products.aspxI've also seen many other options on the web but I have not researched or tested any of those:
http://kalpesh.biz/http://www.soft32.com/download_230559.html
.·*´¨)
.·`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"