Last edited:
That is right, the interop libraries only works as a managed interface to Office, that must be installed for anything to work. For example the 'dim x As New Excel.Application' would throw an exception about no such interface supported if there was actually no Office behind to back up that interop call.are you also saying that that you cannot use Interop functionality unless you have a specific version of Office installed?
That's not what I meant or said. I would say BlitzMX don't have to install anything since Office 2007 is already installed, which also includes the relevant PIA, and is why BlitzMX found the Excel 12.0 library in references COM tab in the first place. The error in post 13 was simply that file "c:\test.xls" was not found. If you insist there is a 'test' Excel file in c:\ root, could it be it has .xlsx extension? That is the default file extension for Office 2007 Excel files. And how about file permissions, it is nowadays unconventional to open files in C root folder (and many other system folders places), the user may not have read-write rights to that location.BlitzMX, Please read JohnH's last post. Your solution is to install a version of MS Office for Interop to be fully available in the .NET Framework.