<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><!--StartFragment -->I am in a similar situation but not only with avalon. 
When I try to invoke&nbsp;<!--StartFragment --> "from System.Windows.Forms 
import *" I receive the folowing error</DIV>
<DIV>Traceback (most recent call last):</DIV>
<DIV>&nbsp; File , line 0, in input##26</DIV>
<DIV>ImportError: cannot import Windows from System</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>With System.Drawing too.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>With Avalon:</FONT></DIV>
<DIV><FONT face=Arial size=2>Warning (from warnings module):<BR>&nbsp; File 
"C:\IronPython-1.0-Beta\Tutorial\avalon.py", line 64<BR>&nbsp;&nbsp;&nbsp; def 
LoadXaml(filename):<BR>SyntaxWarning: import * only allowed at module 
level<BR>&gt;&gt;&gt; <BR>Traceback (most recent call last):<BR>&nbsp; File 
"C:\IronPython-1.0-Beta\Tutorial\avalon.py", line 18, in ?<BR>&nbsp;&nbsp;&nbsp; 
sys.LoadAssemblyByName("PresentationCore")<BR>AttributeError: 'module' object 
has no attribute 'LoadAssemblyByName'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Catalin</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=luismg@gmx.net href="mailto:luismg@gmx.net">Luis M. Gonzalez</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=users@lists.ironpython.com 
  href="mailto:users@lists.ironpython.com">users@lists.ironpython.com</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 02, 2006 2:22 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [IronPython] Avalon 
  tutorial</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Hi there!</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I'm having trouble with the Avalon 
  tutorial.</FONT></DIV>
  <DIV><FONT face=Arial size=2>In fact, I can't even start... this is the reeor 
  message I get when trying to initialize Windows Presentation 
  Foundation:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&gt;&gt;&gt; from avalon import *<BR>Traceback 
  (most recent call last):<BR>&nbsp; File , line 0, in input##0<BR>&nbsp; File 
  C:\Documents and 
  Settings\Usuario1\Escritorio\IronPython-1.0-Beta1\Tutori<BR>al\avalon.py, line 
  27, in Initialize<BR>ImportError: cannot import Animation from 
  Media</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Any hint?</FONT></DIV>
  <DIV><FONT face=Arial size=2>Thanks in advance...</FONT></DIV>
  <DIV><FONT face=Arial size=2>Luis</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>users mailing 
  list<BR>users@lists.ironpython.com<BR>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com<BR></BLOCKQUOTE></BODY></HTML>