实用程序将旧VB6函数调用.NET函数、实用程序、NET

2023-09-03 06:40:54 作者:澜汐

我要寻找一个工具/工具调用遗留的VB6的功能转换为.NET等效的。

I am looking for a utility/tool to convert calls to legacy VB6 functions to the .NET equivalent.

例如,它会转换成这样...

For example, it would convert this...

FormatCurrency(Cart.TotalAmount)
Len(Str)
UCase(Str)
UBound(PaymentsArray)

要这个......

Cart.TotalAmount.ToString("c")
Str.Length
Str.ToUpper()
PaymentsArray.Length - 1

有谁知道一个,还是我将不得不推出自己的?

Does anybody know of one, or am I going to have to roll my own?

推荐答案

您是否需要为这些功能的转换? VB6的功能工作得很好在vb.net。

Do you need a conversion for those functions? The vb6 functions work just fine in vb.net.