<div>I know it will work if I use clr. AddReference..... But my project has to do all this from C# code. Via reflection I load all assemblies from a directory. These are loaded by using the statement clrmodule.AddReference(assembly name).</div> <div>And then when I get the IronPython Exception stating No moduled named assembly was found.......<BR><BR><B><I>Simon Dahlbacka <simon.dahlbacka@gmail.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">so what about reading the responses you've got, and skip Reflection and do use clr.AddReference ?<BR><BR> <DIV><SPAN class=gmail_quote>On 11/24/06, <B class=gmail_sendername>Blesson Varghese</B> <<A href="mailto:blssnvarghese@yahoo.co.in"> blssnvarghese@yahoo.co.in</A>> wrote:</SPAN> <BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"> <DIV>Hi,</DIV>
<DIV> </DIV> <DIV>I have loaded a few dll's using Reflection from a particular library. I have used the sys.path.append(directory name) also. I have handled all the exceptions too. Now I want to run some scripts that make use of these assemblies loaded. For this I execute the script file using ExecuteFile. But I understand that though the modules were loaded previously it raises exception stating that no modules. After reading a few documents I understand that the possible problem is that they could have been executed on different module scopes. I am pretty new to IronPython... </DIV> <DIV>Pls suggest a way....</DIV> <DIV> </DIV> <DIV>Thanks for all help</DIV><SPAN class=ad> <div></div> <HR SIZE=1> Find out what India is talking about on - <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/" target=_blank>Yahoo! Answers India</A> <BR>Send FREE SMS to your friend's
mobile from Yahoo! Messenger Version 8. <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com" target=_blank>Get it NOW</A> <div></div></SPAN><BR>_______________________________________________<BR>users mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:users@lists.ironpython.com">users@lists.ironpython.com</A> <BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target=_blank>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</A><BR><BR><BR></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>users mailing list<BR>users@lists.ironpython.com<BR>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com<BR></BLOCKQUOTE><BR><p> 
        
        
                <hr size=1></hr>
Find out what India is talking about on - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers India</a> <BR>
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <a href="http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com">Get it NOW</a>