将VB代码移植到VB.NET [英] Porting VB code to VB.NET

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

问题描述

大家好,

我有一些VB代码,出于soem的原因,我打算将其转换为VB.net.我有以下问题.

a)我们有任何工具可以完成这项工作吗?
b)工作期间可能会遇到哪些挑战?

Beat Reagrds,
Joy

Hello Everyone,

I have VB code that I intend to convert in to VB.net for soem reason. I have below questions.

a) do we have any tool that can do this job?
b) What are the area of challenges that can come up during the work?

Beat Reagrds,
Joy

推荐答案

a)是,但是不会100%转换
b)大部分时间有时您需要执行Code Rewrite.

检查此
.NET代码转换-转换您的代码 [
a) Yes, but it won''t do 100% conversion
b) Sometime most of the time you need to do Code Rewrite.

Check this
.NET Code Conversion - Convert your code[^]


我会在(或者更好,在C#中)从头开始.您知道,使用自动化工具或盲目重写"将导致丑陋的代码(可能比原始代码更糟糕).
I would code it in VB.NET (or better, in C#) from scratch. You know, with an automated tool or with a ''blind-rewrite'' you''ll end up with ugly code (possibly worse than the original one).


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

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