I am only guessing here because I haven't seen your code, but you may need to 
add the following into your script:

clr.AddReference("System.Windows.Forms")
clr.AddReference("System.Drawing")

I believe IronPython 0.6 used to automatically load the Windows forms and 
Drawing namespaces, but 1.0.1 no longer does that.

Martin

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Blesson Varghese
Sent: Thursday, November 23, 2006 9:54 AM
To: [email protected]
Subject: [IronPython] Regarding Loading Assemblies

I have loaded assemblies and now when I try to execute a script it gives errors 
like:
No module like Windows
No Module like Drawing along with stack trace
Could anyone suggest what could have gone wrong in my code.



________________________________
Find out what India is talking about on - Yahoo! Answers 
India<http://us.rd.yahoo.com/mail/in/yanswers/*http:/in.answers.yahoo.com/>
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW<http://us.rd.yahoo.com/mail/in/messengertagline/*http:/in.messenger.yahoo.com>
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to