Re: [IronPython] Visual Studio .NET 2003 standard

2006-12-04 Thread Dino Viehland
Yes, you'll need Visual Studio 2005 as IronPython is written to use the 2.0 features of .NET which require a new executable format for features such as generics. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barber, Graham (Vancouver) Sent: Monday, December 04, 2006 8:26 AM To

Re: [IronPython] Groping in the dark

2006-12-04 Thread Patrick O'Brien
On 12/4/06, Chris Stoy <[EMAIL PROTECTED]> wrote: I believe MainMenu and MenuItem are the .NET 1.1 way of doing menus, while MenuStrip and ToolStripMenuItem are the .NET 2.0 ways. However, I would think they both should still work (even though you should use .NET 2.0 unless you have a reason n

Re: [IronPython] SecurityException while running ipy.exe

2006-12-04 Thread Haibo Luo
Can you show which permission set is granted to your ipy.exe/ironpython.dll? caspol -resolveperm ipy.exe caspol -resolveperm IronPython.dll -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Hostetler Sent: Monday, December 04, 2006 12:47 PM To: users@

Re: [IronPython] Groping in the dark

2006-12-04 Thread Chris Stoy
I believe MainMenu and MenuItem are the .NET 1.1 way of doing menus, while MenuStrip and ToolStripMenuItem are the .NET 2.0 ways. However, I would think they both should still work (even though you should use .NET 2.0 unless you have a reason not to.) Chris.

[IronPython] New Style Class Performance Problems

2006-12-04 Thread Michael Foord
Hello all, With CPython instantiating and then calling a callable new style class is slightly more efficient than old style classes. For IronPython it is much slower (like three times slower)... See the test code and timing results at : http://www.voidspace.org.uk/python/weblog/arch_d7_2006_12

[IronPython] SecurityException while running ipy.exe

2006-12-04 Thread Mike Hostetler
I have a machine that has .NET 2.0.50727 installed and I put the c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 directory in my path. The bad news is that I don't have admin nor Power Users privileges on this machine. I unzipped IronPython-1.0.1 and when I run ipy.exe I get the following: Unhandle

Re: [IronPython] Possible problem with DockStyle.Fill

2006-12-04 Thread Patrick O'Brien
On 12/4/06, Haibo Luo <[EMAIL PROTECTED]> wrote: This is related to Z-Order in Winforms. Doh! Well, that just shows you how many years it has been since I've used an MS GUI toolkit where z-order is so common. With wxPython, pyQt, and pyGTK I've managed to not actively think about z-order i

Re: [IronPython] Problem with Tutorial 4: Debugging IronPython program

2006-12-04 Thread Patrick O'Brien
On 12/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I wonder if maybe you need to do Tutorial 7 before Tutorial 4. No, Tutorial 7 is for Visual Studio, which I do not have. I only have the .NET SDK and Visual C# Express. -- Patrick K. O'Brien Orbtech http://www.orbtech.com Sc

Re: [IronPython] Possible problem with DockStyle.Fill

2006-12-04 Thread Haibo Luo
This is related to Z-Order in Winforms. You can take a look at MSDN document, or I found http://geekswithblogs.net/mtreadwell/archive/2005/03/05/25397.aspx online. Adding "button.BringToFront" works: form.Controls.Add(menu_strip) form.Controls.Add(button) button.BringToFront() # add this SWF.

Re: [IronPython] Problem with Tutorial 4: Debugging IronPython program

2006-12-04 Thread jcollett
Hi, I wonder if maybe you need to do Tutorial 7 before Tutorial 4. It has been a while since I did those so I do not recall. Jeff "Patrick O'Brien" <[

Re: [IronPython] Possible problem with DockStyle.Fill

2006-12-04 Thread Patrick O'Brien
On 12/4/06, Martin Maly <[EMAIL PROTECTED]> wrote: I suspect that the same code written in VB/C# would behave the same way. This is most likely behavior of Windows Forms. Not being a winforms expert, I can't tell for sure whether this is correct behavior or a bug in Winforms… I created a simi

[IronPython] Problem with Tutorial 4: Debugging IronPython program

2006-12-04 Thread Patrick O'Brien
Is anyone else having problems running tutorial 4? When I set the breakpoint and then hit F11, I get a message box with the following: "There is no source code available for the current location." There are two buttons, "OK" and "Show Disassembly". If I click on "Show Disassembly" I get a Disa

Re: [IronPython] Possible problem with DockStyle.Fill

2006-12-04 Thread Martin Maly
I suspect that the same code written in VB/C# would behave the same way. This is most likely behavior of Windows Forms. Not being a winforms expert, I can't tell for sure whether this is correct behavior or a bug in Winforms... Martin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

[IronPython] Visual Studio .NET 2003 standard

2006-12-04 Thread Barber, Graham (Vancouver)
Hi, I have the above Visual Studio, but I am unable to run IronPython 1.0.1 Following the tutorial "A tour of Python on .NET", it fails to run ipy.exe: --- Microsoft Development Environment --- Unable to start debugging. Unable to start program 'C:\Ir