Hey, everyone!
I am helping a client develop a new application that people will run on
Windows machines (among other places). It occurred to us that third-
party developers will be wanting to extend his application by writing in
"familiar" languages like Visual Basic or C#. The "Python for .NET"
Another way to do this, and one I think you were trying to accomplish, and
is probably superior, would be to move this to another thread. In your code
you have:
#t = Thread(ThreadStart(CreateZip(zipname,
fname)))
#t.Start()
Which
Yikes! I'll take a look at this next Tuesday (the entire team is on vacation
Until then) - a quick look over the code doesn't show us doing anything too
stupid
so I'm not sure what the problem is :( But feel free to open a bug in the mean
time.
> -Original Message-
> From: users-boun.
Is it possible that the assembly has been compiled targeting specifically
x86 and you're running a 64-bit process (or vice versa)?
2010/5/27 Bakalar, Matthew (NIH/CIT) [C]
> Thanks for the suggestion, I tried the bug fix suggested on the link you
> posted. clr.LoadAssemblyFromFile does not thro
Thanks for the suggestion, I tried the bug fix suggested on the link you
posted. clr.LoadAssemblyFromFile does not throw an exception, but it also
doesn't return an assembly (in contrast, calling clr.LoadAssemblyFromFile for a
different assembly in the same directory returns an object that print
If you feel obligated about the money, send it to the charity of your
choice. :)
The only Windows Forms book I've owned was "Windows Forms 2.0 Programming"
by Sells and Weinhardt. If you definitely want to target WinForms (vs WPF),
I would probably recommend it.
On Thu, May 27, 2010 at 1:25 PM, ro
That worked! Give me an e-mail address and I will send you the money. Can you
recommend a good book to learn about WinForms and .NET in general?
Curt Hagenlocher wrote:
>
> You almost certainly need to be pump messages occasionally if you're going
> to be performing a long operation on the UI t
The bug at
http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26793 suggests
you might have success with clr.LoadAssemblyFromFile. Otherwise, you might
be able to use the Fusion log viewer (
http://msdn.microsoft.com/en-us/library/e74a18c4(VS.80).aspx) to debug the
assembly load process.
You almost certainly need to be pump messages occasionally if you're going
to be performing a long operation on the UI thread. With Windows Forms, this
involves calling System.Windows.Forms.Application.DoEvents().
On Thu, May 27, 2010 at 11:55 AM, robinsiebler wrote:
>
> This is my 1st IronPytho
I added another wiki page, with example of using Access MDB via
adodbapi module - it **is** simpler and more pythonic.
http://www.ironpython.info/index.php/ADODB_API
Thanks Vernon for helping me to get adodbapi running. Adodbapi is my
favorite now! ;-)
--
-
Peter Masiar
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
In response to Lukas:
I copied all of the assemblies, along with the script, to one folder. I
attempted to add a reference to MathNet.Iridium and received the following
error:
>>> clr.AddReferenceByPartialName('MathNet.Iridium')
Traceback (most recent call last):
File "", line 1, in
IOError:
Hey guys,
I just tracked down a really nasty performance bug in our Silverlight
application. It turned out that doing a simple string replace in a 400
character string was taking 700ms. As we actually do two replaces and
the text is usually substantially longer this was a real problem.
I fix
This is an automated email letting you know that sources
have recently been pushed out. You can download these newer
sources directly from
http://ironpython.codeplex.com/SourceControl/changeset/view/66311.
MODIFIED SOURCES
$/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/
>From http://www.ironpython.info/index.php/Accessing_SQL_Server
import clr
clr.AddReference('System.Data')
from System.Data import *
TheConnection =
SqlClient.SqlConnection("server=yourserver;database=News;uid=sa;password=password")
TheConnection.Open()
MyAction = SqlClient.SqlCommand("Select He
I want to connect with IronPython to SQLServer 2008. I found some SAS
code (SAS is another programming language) that uses OLEDB and I have a
connection string with the server name and credentials.
In IronPython in Action, there's an example of how to connect to a
Postgresql database, and that ex
16 matches
Mail list logo