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).
 
*************************************************************************
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to