[IronPython] (no subject)

Howland-Rose, Kyle Kyle.Howland-Rose at aar.com.au
Fri Feb 22 04:37:52 CET 2008


Hi all, 

I am following
http://www.ironpython.info/index.php/Using_Python_Classes_from_.NET
<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).
 
*************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080222/9191b03e/attachment.html>


More information about the Ironpython-users mailing list