Re: [Python.NET] System.IO.FileNotFoundException: Unable to find assembly 'MbtCom.dll'.

2009-04-14 Thread kfadnis
I ended up writing a class to source the COM libraries. Let me know if anyone has any other suggestions. Thanks for your time. On Tue, Apr 14, 2009 at 8:59 AM, kfadnis wrote: > I am not sure if its managed or unmanaged, its a third party dll that came > with its software, the interface is COM (

Re: [Python.NET] System.IO.FileNotFoundException: Unable to find assembly 'MbtCom.dll'.

2009-04-14 Thread Tribble, Brett
1. Is it a managed assembly or an unmanaged .dll? 2. If it is a managed assembly, is it registered in the GAC? See: http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=713 also try: clr.AddReference('nameOfAssembly'). Note that you do not need to include '.dll' This assumes th

Re: [Python.NET] System.IO.FileNotFoundException: Unable to find assembly 'MbtCom.dll'.

2009-04-14 Thread kfadnis
I am not sure if its managed or unmanaged, its a third party dll that came with its software, the interface is COM (ActiveX). I have added and worked with it through C#, I load them using Add Reference in C# .NET and then find them on the COM tab. Also, when added as reference in the .NET environme

Re: [Python.NET] System.IO.FileNotFoundException: Unable to find assembly 'MbtCom.dll'.

2009-04-14 Thread Craig Farrow
Try this: import sys sys.path.append("") import clr import System clr.AddReference("MbtCom") Craig. 14/04/2009 9:09 a.m. dï, kfadnis pišdimiš: Hi All, I know this is a very basic question, but despite all my efforts I haven't been able to load a third-party dll into python. I can find the