Quote:
Originally Posted by GMESCAL
Does the book Professional Visual Basic 2010 & Net 4 include code samples that work for the VisualBasic.Compatibility.vb6 namespace & inherit & implement etc required to create control arrays ,e.g a listbox array during a project runtime ??
|
I searched the sample code for "Microsoft.VisualBasic.Compatibility.VB6" (it should be a referenced assembly) and it returned "No items matched your search but then again the Win7 text search engine isn't going to win any awards.
To be honest, I really wouldn't expect any classes in this namespace to be use in this book considering that that ALL of the classes in that namespace are marked OBSOLETE. and are:
"provided use by the
tools for upgrading from Visual Basic 6.0 to Visual Basic 2010.
Functions and objects in the
Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2010. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation"
see (
http://msdn.microsoft.com/en-us/libr...ility.vb6.aspx)
... in otherwords these classes are for internal MS use only