The page in question doesn't seem to show what you describe -- deriving a Python class from a C# class. Maybe you could show us your sample code?
On Thu, Feb 21, 2008 at 7:39 PM, Howland-Rose, Kyle < [EMAIL PROTECTED]> wrote: > Hi all, > > I am following > http://www.ironpython.info/index.php/Using_Python_Classes_from_.NET but > using VB. > > In VB I declare a class and derive a python 1.1 class from it but when I > return it I get the exception: > > "Unable to cast object of type ' > IronPython.NewTypes.WebControlLibrary.ChildControl_1' to type ' > WebControlLibrary.ChildControl'." > > The page referenced above just seems to cast the python class instance to > the C# class instance but this does not work for me in VB. > > Any help would be appreciated :) > > Thanks, > > Kyle > > > > ************************************************************************ > > Allens Arthur Robinson online: http://www.aar.com.au > > This email is confidential and may be subject to legal or other > professional privilege. It is also subject to copyright. If you have > received it in error, confidentiality and privilege are not waived and you > must not disclose or use the information in it. Please notify the sender by > return email and delete it from your system. Any personal information in > this email must be handled in accordance with the Privacy Act 1988 (Cth). > > ************************************************************************* > > > > ************************************************************************ > > Allens Arthur Robinson online: http://www.aar.com.au > > This email is confidential and may be subject to legal or other > professional privilege. It is also subject to copyright. If you have > received it in error, confidentiality and privilege are not waived and you > must not disclose or use the information in it. Please notify the sender by > return email and delete it from your system. Any personal information in > this email must be handled in accordance with the Privacy Act 1988 (Cth). > > ************************************************************************* > > _______________________________________________ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > _______________________________________________ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > >
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com