VB6代码升级 [英] VB6 code upgrade

查看:42
本文介绍了VB6代码升级的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
从 VB6 迁移到 .NET 的最佳策略
visual basic 6.0 的转换工具比较

是否有任何人可以推荐将商业 VB6 应用程序转换为 VB.NET 应用程序的好工具.我发现了一些免费的和一些商业的,但找不到任何尝试过但失败或尝试过成功的开发者的评论和意见.

Is there a good tool anyone can recommend to convert a commercial VB6 application into a VB.NET application. I have discovered some free ones and some commercial one's, but can't find any reviews and opinions of developers who have tried and failed or tried and succeeded.

涉及哪些复杂性?我知道 .NET 使用托管代码和多线程单元等,而 VB6 基于 COM.

What are the complexities involved? I know that .NET uses managed code and multi threaded apartments etc whereas VB6 is based on COM.

推荐答案

不要这样做.不要转换.重新写一遍.抱歉,虽然代码可以转换,但不代表应该转换.

Don't do it. Don't convert. Do a re-write. Sorry, but even though the code CAN be converted, it doesn't mean it should be converted.

请以更干净的代码的名义,花费资源时间让它正确编写.将此视为清理代码的机会,并利用 .Net 带来的一切......

Please, in the name of cleaner code everywhere, spend the resource time to have it written correctly. View this as an opportunity to clean up the code, and take advantage of everything .Net brings to the table....

而且我真的不在乎我是否在这方面受到负面评价.如果我说服一家公司重写而不是转换,那是值得的.

And I really don't care if I get negative rep'd on this one. If I convince one company to rewrite instead of convert, it was worth it.

这篇关于VB6代码升级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆