<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hello all,<br><br>I have two questions:<br>1) are there examples of embedding python in vb .NET<br><br>2)<br>I'm trying to figure out how I can use the Python.Runtime.dll form VB.NET. I added it as a reference and imported using:<br><br>Imports Python.Runtime<br><br>Module Module1<br>&nbsp;&nbsp;&nbsp; Sub Main()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PythonEngine.Initialize()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim a As String<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PythonEngine.RunString("5+7" &amp; vbCrLf)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  ' how can I get the result of that easy string?<br><br><br>&nbsp;&nbsp;&nbsp; End Sub<br><br>End Module<br><br>Many Thx,<br><br>Johan<br /><hr />Nieuwe lente...Een nieuw online leven...Helemaal gratis! <a href='http://get.live.com' target='_new'>Windows Live </a></body>
</html>