Re: [IronPython] No use Process.Start() , How to execute these command line?

2006-11-01 Thread Kevin Gadd
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

Re: [IronPython] changing c# var values in IP

2006-10-09 Thread Kevin Gadd
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 = "

Re: [IronPython] Inheriting from a C# type in IronPython - is this even possible?

2006-10-06 Thread Kevin Gadd
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

[IronPython] Inheriting from a C# type in IronPython - is this even possible?

2006-09-26 Thread Kevin Gadd
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