Re: [IronPython] Debugging IronPython script using "IronPython tools for Visual Studio(CP2)

2010-06-12 Thread yngipy hernan
Seems like it only happens when I am using UI Automation, is this known issue? Regards, Yngipy On Sun, Jun 13, 2010 at 1:41 AM, yngipy hernan wrote: > Hi all, > > I am trying to debug my scripts using VS2010 Pro, for non-class based code > it is working as expected. But got hiccups inside a cla

[IronPython] Debugging IronPython script using "IronPython tools for Visual Studio(CP2)

2010-06-12 Thread yngipy hernan
Hi all, I am trying to debug my scripts using VS2010 Pro, for non-class based code it is working as expected. But got hiccups inside a class, this is what I am getting: 'ipy.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscor

Re: [IronPython] Convert between python array and .NET Array

2010-06-12 Thread Curt Hagenlocher
It looks like the automatic overload resolution may be failing -- at least, it's worth trying to resolve the overload manually. This would be something like from System import Array, Byte, IntPtr Marshal.Copy.Overloads[Array[Byte], int, IntPtr, int](bytes, 0, bmData.Scan0, total_bytes) On Sat, J

Re: [IronPython] Convert between python array and .NET Array

2010-06-12 Thread Marcel
I think I simplified my example a little too far. I'm trying to display a Bitmap from bytes generated in Python code. bytes = array.array('c') # tried 'B' also # generate bitmap bytes ... bitmap = Bitmap(width, height, PixelFormat.Format24bppRgb) bmData = bitmap.L

[IronPython] IronPython ASP.net MVC

2010-06-12 Thread Andrew Evans
Hello I am running IronPython 2.6 and have installed IIS. I am curious where to put the dlls and Web.config in my set up for using IronPython with asp.net Would appreciate any help Cheers Andrew ___ Users mailing list Users@lists.ironpython.com http:/

Re: [IronPython] Problem Closing Application

2010-06-12 Thread Michael Foord
On 12/06/2010 16:22, Anthony wrote: Hi All Just to state - I'm a real newbie to programming & ironpython I have an application that has 2 forms. The application gets started in the progam.py module(btw i'm using #develop). This calls another module - login.py. This is a login form which valida

[IronPython] Problem Closing Application

2010-06-12 Thread Anthony
Hi All Just to state - I'm a real newbie to programming & ironpython I have an application that has 2 forms. The application gets started in the progam.py module(btw i'm using #develop). This calls another module - login.py. This is a login form which validates user names/passwords. Once this is v