Try invoking cmd.exe with Process.Start and either passing it a .bat file that executes the desired commands or feeding it input via stdin. There's no real easier way to do this due to the complexity of executing multiple command line statements - you'll probably find that SET won't even work unles
I suggest making the following changes:Make idL a public memberPlace frmStart in a variable instead of idL itself (I am pretty sure setvariable isn't making a reference to your variable, just to the value of it)
So something like...public string idL;...engine.SetVariable("frm", this);...frm.idL = "
what the problem might be, I'd appreciate it.On 9/26/06, Kevin Gadd
<[EMAIL PROTECTED]> wrote:So I have an object model defined in C#, that defines various types. One of them is a base type called 'Element' that is designed to be inherited from.
I have a class called ElementFa
So I have an object model defined in C#, that defines various types. One of them is a base type called 'Element' that is designed to be inherited from.I have a class called ElementFactory that loads up one or more python scripts into an
IronPython.Hosting engine, and exposes my object model to tho