<html>
That script searches the release docn for .Net (1.x).&nbsp; IP relies on
.Net 2, so I think the .Start line should be<br>
&nbsp;&nbsp;&nbsp;&nbsp;
Process.Start(&quot;<a href="http://lab.msdn.microsoft.com/searchbeta/Default.aspx?" eudora="autourl">http://lab.msdn.microsoft.com/searchbeta/Default.aspx?</a>&quot;
+ query)<br>
<br>
Otherwise, some results will be missing or perhaps incomplete (or,
rarely, incorrect).<br>
<br>
At 04:27 PM 10/31/2005, Shawn Farkas wrote<br>
<br>
<blockquote type=cite cite><font face="arial" size=2 color="#000080">Pretty
easily done with a quick script:<br>
</font><br>
<font face="arial" size=2 color="#000080">&nbsp;<br>
</font><br>
<font face="arial" size=2 color="#000080">import sys<br>
</font><br>
<font face="arial" size=2 color="#000080">sys.LoadAssemblyByName(&quot;System&quot;)<br>
</font><br>
<font face="arial" size=2 color="#000080">from System import String<br>
</font><br>
<font face="arial" size=2 color="#000080">from System.Diagnostics import
Process<br>
</font><br>
<font face="arial" size=2 color="#000080">&nbsp;<br>
</font><br>
<font face="arial" size=2 color="#000080">def msdn(query):<br>
</font><br>
<font face="arial" size=2 color="#000080">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if query.GetType() == String.Empty.GetType():<br>
</font><br>
<font face="arial" size=2 color="#000080">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Process.Start(&quot;<a href="http://search.microsoft.com/search/results.aspx?View=msdn&amp;st=b&amp;c=4&amp;s=1&amp;swc=4&amp;qu=" eudora="autourl">http://search.microsoft.com/search/results.aspx?View=msdn&amp;st=b&amp;c=4&amp;s=1&amp;swc=4&amp;qu=</a>&quot;
+ query)<br>
</font><br>
<font face="arial" size=2 color="#000080">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
else:<br>
</font><br>
<font face="arial" size=2 color="#000080">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
msdn(query.GetType().FullName)<br>
</font><br>
<font face="arial" size=2 color="#000080">&nbsp;<br>
</font><br>
<font face="arial" size=2 color="#000080">Will launch the MSDN help page
in the user s default browser.&nbsp; I m not sure if there s a nicer way
to determine if the parameter is a string or not, and this also relies on
the fact that the browser will normalize the query string (if it contains
a space for instance) &amp; but will break if you query contains the
&amp; character.&nbsp; However, for debugging purposes, if you throw that
in your site.py you re all set
</font><font face="wingdings" size=2 color="#000080">J<br>
</font><br>
<font face="arial" size=2 color="#000080">&nbsp;<br>
</font><br>
<font face="arial" size=2 color="#000080">-Shawn<br>
</font><br>
<font face="arial" size=2 color="#000080">&nbsp;<br>
<hr>
<div align="center">
</font></div>
<font face="tahoma" size=2><b>From:</b>
users-bounces@lists.ironpython.com [<a href="mailto:users-bounces@lists.ironpython.com" eudora="autourl">mailto:users-bounces@lists.ironpython.com</a>] <b>On Behalf Of </b>Peli de Halleux (PELI)<br>
<b>Sent:</b> Monday, October 31, 2005 11:48 AM<br>
<b>To:</b> Discussion of IronPython<br>
<b>Subject:</b> Re: [IronPython] Need help in learning.<br>
</font><br>
<font face="Times New Roman, Times">&nbsp;<br>
</font><br>
<font face="arial" size=2>Following up the improving the experience for new .Net users, IronPython could provide specialized commands to search msdn and pop up a internet window. For example something like<br>
</font><br>
<font face="arial" size=2>&nbsp;&nbsp;&nbsp; msdn &quot;System.Security.Cryptography.SignedXml.ComputeSignature&quot;&nbsp;&nbsp; // search based on literal<br>
</font><br>
<font face="arial" size=2>&nbsp;&nbsp;&nbsp; msdn foo&nbsp;&nbsp;&nbsp; // search based on the object type<br>
</font><br>
<font face="arial" size=2>[snip]</font></blockquote><br>
<br>
J. Merrill / Analytical Software Corp
</html>