摆脱旧的vb6代码 [英] getting rid of old vb6 code

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

问题描述

大家好。


我对VB的介绍是通过VB.Net进行的,但是我正在使用很多代码由程序员编写的
代码pre-dotnet经验。因为

结果有很多函数调用和非OOP感知。代码。


有没有可用的程序可以扫描VB.Net

项目并标记这些较旧的VB函数/东西?


我不想学习pre-dotnet VB,只是为了知道我应该摆脱的是什么。

先谢谢(也许)

Chook。

解决方案

您可以删除对Microsoft的引用.VisualBasic命名空间和

看看有什么休息。


" chookeater" < CH ********** @ hotmail.com>在消息中写道

新闻:9f ************************* @ posting.google.co m ... <你好。我对VB的介绍是通过VB.Net进行的,但是我正在处理很多代码,这些代码是由具有pre-dotnet经验的程序员编写的。结果是有很多函数调用和非OOP感知。代码。

有没有可用的程序可以扫描VB.Net
项目并标记这些较旧的VB函数/东西?

我不知道我不想学习pre-dotnet VB,只是为了知道我应该摆脱什么。

提前致谢(也许)
Chook。


您好Scott,


Microsoft.VisaualBasic命名空间与非OOP有什么关系

编程?


Cor

你可以删除对Microsoft.VisualBasic命名空间的引用并看看是什么休息。


我对VB的介绍是通过VB.Net进行的,但我正在使用很多代码。由具有pre-dotnet经验的程序员编写。结果是有很多函数调用和非OOP感知。代码。

有没有可用的程序可以扫描VB.Net
项目并标记这些较旧的VB函数/东西?

我不知道我不想学习pre-dotnet VB,只是为了知道我应该摆脱什么。



* ch**********@hotmail.com (chookeater)scripsit:< blockquote class =post_quotes>我对VB的介绍是通过VB.Net进行的,但我正在使用由具有pre-dotnet经验的程序员编写的大量代码。结果是有很多函数调用和非OOP感知。代码。

有没有可用的程序可以扫描VB.Net
项目并标记这些较旧的VB函数/东西?

我不知道我不想学习pre-dotnet VB,只是为了知道我应该摆脱什么。




也许这个工具可以帮到你:


Micrososoft Visual Basic代码顾问

< http://msdn.microsoft.com/library/default.asp?url = / library / en- us / dnvb600 / html / vb6_FixItRuleTool.asp>


-

Herfried K. Wagner [MVP]

< http ://www.mvps.org/dotnet>


Hi All.

My introduction to VB was through VB.Net but I am working with a lot
of code that was written by programmers with pre-dotnet experience. As
a result there are lots of function calls and "non-OOP aware" code.

Is there any program available that I can get to sweep through VB.Net
projects and flag these older VB functions/things ?

I don''t want to have to learn pre-dotnet VB to just to know what I
should be getting rid of.

Thanks in advance (perhaps)
Chook.

解决方案

You could remove the reference to the Microsoft.VisualBasic namespace and
see what breaks.

"chookeater" <ch**********@hotmail.com> wrote in message
news:9f*************************@posting.google.co m...

Hi All.

My introduction to VB was through VB.Net but I am working with a lot
of code that was written by programmers with pre-dotnet experience. As
a result there are lots of function calls and "non-OOP aware" code.

Is there any program available that I can get to sweep through VB.Net
projects and flag these older VB functions/things ?

I don''t want to have to learn pre-dotnet VB to just to know what I
should be getting rid of.

Thanks in advance (perhaps)
Chook.



Hi Scott,

What has the Microsoft.VisaualBasic namespace to do with non OOP
programming?

Cor

You could remove the reference to the Microsoft.VisualBasic namespace and
see what breaks.


My introduction to VB was through VB.Net but I am working with a lot
of code that was written by programmers with pre-dotnet experience. As
a result there are lots of function calls and "non-OOP aware" code.

Is there any program available that I can get to sweep through VB.Net
projects and flag these older VB functions/things ?

I don''t want to have to learn pre-dotnet VB to just to know what I
should be getting rid of.



* ch**********@hotmail.com (chookeater) scripsit:

My introduction to VB was through VB.Net but I am working with a lot
of code that was written by programmers with pre-dotnet experience. As
a result there are lots of function calls and "non-OOP aware" code.

Is there any program available that I can get to sweep through VB.Net
projects and flag these older VB functions/things ?

I don''t want to have to learn pre-dotnet VB to just to know what I
should be getting rid of.



Maybe this tool will help you:

Micrososoft Visual Basic Code Advisor
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvb600/html/vb6_FixItRuleTool.asp>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


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

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