Convert VB6 app to WPF?

2020-07-22 10:56发布

问题:

Is it possible to convert a VB6 app to WPF using automated tools?

I'm aware of tools to convert to Winforms, but what about WPF?

Is there a pathway from Winforms to WPF that could be utilised?

回答1:

I have never tried it but I googled it for you. Try this tool by Davide Senatore. The link is his page in babel fish because the original is in Italian. If you try it post some feedback for others.



回答2:

Even if you probably find tool to convert the plain form layout, you have to rewrite the logic behind, since the approach is definitely different. If you don't keep this in mind ( so you replicate the same as the VB6 app ewxactly in the WPF one ) you will probably create some sort of unmaintainable blob.