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