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