Re: [Ironpython-users] Ccalling c# from python script

2011-10-07 Thread Vernon Cole
I spotted the error just after I hit "Send" ... line 4 should have escaped the backslashes in the Windows-format filename string, like: dbFile = r"C:\MyPath\MyGDB.mdb" or alternatively, use forward slashes dbFile = "C:/MyPath/MyGDB.mdb" -- Vernon On Fri, Oct 7, 2011 at 11:39 PM, Vernon Col

Re: [Ironpython-users] Ccalling c# from python script

2011-10-07 Thread Vernon Cole
Justin: May I humbly suggest that rather than calling a very nasty Visual Basic routine, you could do the entire thing in Python more simply. The following example uses an SQL query to obtain the same information as the VB you supplied (if I understood the VB correctly.) I think you'll find the P

[Ironpython-users] Ccalling c# from python script

2011-10-07 Thread Perez, Justin
I would like to be able to call a C# something from a python script from IDLE or if better from ironpython. The code I need to call is below. I am fairly certain that this is VB.net so if easiest I could build this in a vb.net something. I do not know how to package this into something that c

Re: [Ironpython-users] Help Change Python Engine Options inside Python

2011-10-07 Thread Jeff Hardy
On Fri, Oct 7, 2011 at 6:18 AM, Mark Wilson wrote: > Thanks Jeff for the help. > I do have vs2010. The ipy process is embedded in a commercial software, > ANSYS.  Do you know how to trigger vs2010 debugging from python  script? The > console is launched by ANSYS program. Add the following to your

[Ironpython-users] IronPython, Daily Digest 10/6/2011

2011-10-07 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] IOError: Unable to write data to the transport connection: cannot access a disposed object. -- ISSUES 1. [New comment] IOError