如何将VB 6项目转换为VB.NET? [英] how to convert a VB 6 project to VB.NET?

查看:280
本文介绍了如何将VB 6项目转换为VB.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是VB.net解决方案开发人员,对vb6有点了解.

我开始负责一个用vb6编写的大型项目,我想找到最快的方法将该项目转换为vb.net.
如果我在vb.net中重写该程序的代码,则可能需要大约6个月的时间,而且压力很大.

有人可以帮我解决大问题吗?

I''m a VB.net solution Developer with a little knowledge of vb6.

I became responsible for a big project written in vb6 and I want to find the fastest way to convert the project into vb.net.
If I rewrite the code of this program in vb.net it may take around 6 months and with a lot of pressure.

Can any one help me with big problem

推荐答案

我们称之为重写.内置了一个转换工具,但无法100%正常工作,您必须做一些工作才能对其进行修复. VB6和VB.NET完全不同,它们确实不应具有相同的名称,就像C#的名称不应与C ++相似.
We call that a rewrite. There''s a conversion tool built in, but it won''t work 100% and you will have to do the work to fix it. VB6 and VB.NET are totally different, they really should not have the same name, just like C# should not be similar in name to C++.


是的,CG是正确的.您无法转换100%.您的VB 6项目架构是什么.如果是3层或更多,则可以轻松地在VB.NET中转换业务逻辑层,数据层,连接层(我指的是单独项目中的类模块).但是主要问题是您不能正确地转换演示文稿(VB 6格式)100%,因为某些VB控件在VB.NET中不存在.因此,您需要手动更改已转换为VB.NET的那些表格.
Yeah CG is right. you can''t convert 100%. What''s your VB 6 project architecture. If 3 tier or something then you can easily convert the Business logic layer, Data layer, Connection layer in VB.NET(I mean the Class modules in the separate projects). But the main issue is you can''t convert the presentation(VB 6 forms) 100% correctly, Because some of VB controls doesn''t exist in VB.NET. so you need to change manually lot of things those forms which was converted in to VB.NET.


这篇关于如何将VB 6项目转换为VB.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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