VB6 到 VB.net 的转换

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1678064/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 14:30:40  来源:igfitidea点击:

VB6 to VB.net conversion

vb.netvb6vb6-migration

提问by dagg

Exact duplicate: Best strategy for moving applications from VB6 to VB.Net
Exact duplicate: Conversion tool comparisons for VB6

完全重复:将应用程序从 VB6 移动到 VB.Net 的最佳策略
完全重复:VB6 的转换工具比较

can any one please tell the tool which converts vb6 to vb.net

任何人都可以告诉将vb6转换为vb.net的工具

thanks dagg

谢谢达格

采纳答案by xpda

There is one that comes with vb.net. When you open a .vbp vb6 project, it asks if you would like to automatically convert it to vb.net. It does a pretty good job, exclusive of third party add-ons.

vb.net 附带了一个。当您打开 .vbp vb6 项目时,它会询问您是否要自动将其转换为 vb.net。它做得非常好,不包括第三方附加组件。

回答by Joan D

You can also try Visual Basic Upgrade Companion.
It generates VB .NETand C#and maps COMcomponents to Framework components.

您还可以尝试 Visual Basic Upgrade Companion。
它产生VB .NETC#和映射COM组件框架组件。

pr_vb_companion

pr_vb_companion

回答by o.wiegele

Microsoft Corp just published a world-wide case study based on the successful VB6 migration project:

微软公司刚刚发布了一个基于成功的 VB6 迁移项目的全球案例研究:

http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?casestudyid=4000006181

http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?casestudyid=4000006181

回答by FrustratedWithFormsDesigner

I believe that Visual Studio has a built-in VB6 -> VB .NET project and source conversion component built in. I haven't used it for a while, last time I did a conversion was with Visual Studio 2005. It was a little tricky, and there was still some manual clean up involved to get things working just right. I don't know what the VS2008 system is like.

我相信Visual Studio有内置的VB6 -> VB .NET项目和内置的源转换组件。我有一段时间没有使用它,上次我用Visual Studio 2005进行转换。有点棘手,并且仍然需要一些手动清理才能使事情正常工作。不知道VS2008系统是怎样的。

回答by Stuart Helwig

This is certainly not a trivial matter.

这当然不是一件小事。

DotNetRocks recently did a show on this, which you will find here - Francesco Balena on VB to .NET Migration - http://www.dotnetrocks.com/default.aspx?showNum=491

DotNetRocks 最近做了一个关于这个的节目,你可以在这里找到 - Francesco Balena on VB to .NET Migration - http://www.dotnetrocks.com/default.aspx?showNum=491

This will introduce you to some of the issues, and indeed, a tool to do a conversion.

这将向您介绍一些问题,实际上,这是一个进行转换的工具。