Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP to C#
Message
From
05/11/2010 10:25:55
 
 
To
05/11/2010 05:54:30
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
General information
Forum:
ASP.NET
Category:
Forms
Title:
Miscellaneous
Thread ID:
01488357
Message ID:
01488375
Views:
110
>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.

Hi,
Maybe using CodeDOM ? : http://msdn.microsoft.com/en-us/library/650ax5cx.aspx
Looking at the xxx.Designer.cs code for existing .NET forms should give you a good idea of the model you would need.
But I wonder, given that you're only getting the visual appearance, whether it would be worth it ......
Previous
Reply
Map
View

Click here to load this message in the networking platform