Re: [IronPython] Internal Assembly Dependency

2010-05-26 Thread Lukas Cenovsky
Bakalar, Matthew (NIH/CIT) [C] wrote: Hello All, I am new to IronPython, relatively new to C#, and new to this list. I have a C# assembly that I am attempting to access from IronPython. I am able to load the assembly using: clr.AddReferenceToFileAndPath(mypath) without any problems. I can

Re: [IronPython] Internal Assembly Dependency

2010-05-26 Thread David Escobar
I had a similar problem when using ctypes to access a Windows .dll. Before calling the method that relies on the MathNet.Iridium assembly, try setting the current working directory to the folder containing your 1st assembly (the one you reference directly). clr.AddReferenceToFileAndPath(mypath) im

Re: [IronPython] App stops responding, form won't refresh

2010-05-26 Thread robinsiebler
I've looked at a bunch of examples, but I haven't been able to use them in a way that works. I don't understand what I am missing. I was hoping someone would take a few minutes, look at my app and tell me the right way to do it so I can understand it. Michael Foord-5 wrote: > > On 26/05/2010 23

Re: [IronPython] App stops responding, form won't refresh

2010-05-26 Thread Michael Foord
On 26/05/2010 23:46, robinsiebler wrote: I've looked at both of them before I posted this, but I'm just failing to understand it I guess. Perhaps this example would be better - it shows updating a progress bar from a calculation being run in a background thread: http://www.ironpytho

Re: [IronPython] App stops responding, form won't refresh

2010-05-26 Thread robinsiebler
I've looked at both of them before I posted this, but I'm just failing to understand it I guess. Michael Foord-5 wrote: > > On 26/05/2010 22:40, robinsiebler wrote: >> This is my 1st IronPython/.NET app. It is really simple, all it does is >> zip >> all the files in a folder into an archive, 1

Re: [IronPython] App stops responding, form won't refresh

2010-05-26 Thread Michael Foord
On 26/05/2010 22:40, robinsiebler wrote: This is my 1st IronPython/.NET app. It is really simple, all it does is zip all the files in a folder into an archive, 1 file per zip. The problem is that when it is zipping large files 200MB+ the app stops responding. It is still zipping files, but the U

[IronPython] App stops responding, form won't refresh

2010-05-26 Thread robinsiebler
This is my 1st IronPython/.NET app. It is really simple, all it does is zip all the files in a folder into an archive, 1 file per zip. The problem is that when it is zipping large files 200MB+ the app stops responding. It is still zipping files, but the UI doesn't update. I don't know how to fix

Re: [IronPython] Calling a query from .MDB (Access stored procedure) by name:

2010-05-26 Thread Peter Masiar
Thank you for all help. Jeff, your suggestion worked. I created a wiki page with "lessons learned": http://www.ironpython.info/index.php/Access_(MDB) I also took a liberty to add link to list of all pages (http://www.ironpython.info/index.php/Special:AllPages) to Content page, because I took me a

[IronPython] Internal Assembly Dependency

2010-05-26 Thread Bakalar, Matthew (NIH/CIT) [C]
Hello All, I am new to IronPython, relatively new to C#, and new to this list. I have a C# assembly that I am attempting to access from IronPython. I am able to load the assembly using: clr.AddReferenceToFileAndPath(mypath) without any problems. I can then import the classes that reside within my