[RESOLVED] Microsoft.VisualBasic.Compatibility.VB6
http://msdn2.microsoft.com/en-us/lib...ility.vb6.aspx
I'm confused. This looks like something new since it says "Specific to .NET Framework 3.0" and there are no descriptions, but then I found some really old posts on forums that mentioned this.
I usually get all my answers from MSDN, but it doesn't say anything about this namespace.
1) Are the functions old VB6 functions?
2a) I don't imagine that it'll be recommended to use anything in this namespace. I'd probably get the "That is legacy. Do it .NET and use this" response. So, what is the purpose of this namespace and why now?
2b) Does this have something to do with conversion?
Somebody set me straight. :bigyello:
Re: Microsoft.VisualBasic.Compatibility.VB6
That namespace exists specifically to support upgraded VB6 code. It contains classes that the conversion wizard can use to make converted code work when an implementation in "proper" VB.NET would simply be too complex to determine. Don't ever use that namespace.
Re: Microsoft.VisualBasic.Compatibility.VB6
I just looked it over. It doesn't contain vb6 functions. It contains ways to do stuff in vb.net that you currently can't do easily, and it is band-aid stuff for upgrading from vb-6. about 90% of it is control arrays, and access to the older controls. It also contains a twips converter, so you wouldn't have to do a major code conversion on a program that uses them.
Re: Microsoft.VisualBasic.Compatibility.VB6
You would never want to really use the vb 6 code converter for anything IMO. I believe John is talking about the Microsoft.VisualBasic class as it contains the VB 6 style functions. Either way, they are just completely :sick:
Re: Microsoft.VisualBasic.Compatibility.VB6
Great. Thanks for the responses. :)