实用程序将旧VB6函数调用.NET [英] Utility to Convert Legacy VB6 Function Calls to .NET
本文介绍了实用程序将旧VB6函数调用.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要寻找一个工具/工具调用遗留的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.
这篇关于实用程序将旧VB6函数调用.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文