G
Guest
Hi all,
Should I or shouldn't I remove the reference the microsoft.visualbasic
reference (project properties/Imports/Microsoft.Visualbasic)? Yes I know,
the reference is still there and visible in IL code, but then at least my IDE
warns me when I use old synthax...
After two hours of reading throught flame wars, I finally found:
http://addressof.com/blog/articles/CodingGuidelines.aspx
It basically says: "use it when you need it but remove the
microsoft.visualbasic as an exercise in learning new synthax rather than as a
strict rule".
All well and good, but where is the VB6-VB.NET no-Microsoft.VisualBasic
correspondance list? I found:
http://www.netcoole.com/VB6TOCS/vbhtml/vbfuncs.htm
for methods and
http://www.netcoole.com/VB6TOCS/vbhtml/vbconsts.htm
for constants, but there are a lot of correspondance that maps to
Microsoft.VisualBasic namespaces, which I am trying to avoid. Certain
correspondance seem just plain wrong (as per my information, vbCrLf should
map to System.Environment.NewLine, not to
Microsoft.VisualBasic.Constants.vbCrLf).
So, is there a good conversion list out there that I missed (one that takes
into account my willingness to avoid Microsoft.VisualBasic namespace)? I had
to find the hard way that the Collection object from MS.VB translates to a
SortedList in System.Collection. I would really want to know how to convert
vbTab, among others...
Thanks alot,
-Confused
Should I or shouldn't I remove the reference the microsoft.visualbasic
reference (project properties/Imports/Microsoft.Visualbasic)? Yes I know,
the reference is still there and visible in IL code, but then at least my IDE
warns me when I use old synthax...
After two hours of reading throught flame wars, I finally found:
http://addressof.com/blog/articles/CodingGuidelines.aspx
It basically says: "use it when you need it but remove the
microsoft.visualbasic as an exercise in learning new synthax rather than as a
strict rule".
All well and good, but where is the VB6-VB.NET no-Microsoft.VisualBasic
correspondance list? I found:
http://www.netcoole.com/VB6TOCS/vbhtml/vbfuncs.htm
for methods and
http://www.netcoole.com/VB6TOCS/vbhtml/vbconsts.htm
for constants, but there are a lot of correspondance that maps to
Microsoft.VisualBasic namespaces, which I am trying to avoid. Certain
correspondance seem just plain wrong (as per my information, vbCrLf should
map to System.Environment.NewLine, not to
Microsoft.VisualBasic.Constants.vbCrLf).
So, is there a good conversion list out there that I missed (one that takes
into account my willingness to avoid Microsoft.VisualBasic namespace)? I had
to find the hard way that the Collection object from MS.VB translates to a
SortedList in System.Collection. I would really want to know how to convert
vbTab, among others...
Thanks alot,
-Confused