'The Module "c:windowssyswow64o2010pia"failed to load.make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent dll files.the specified module could not be found' then learnt that service cannot be added in regsvr32,only COM functions can be added. but when i run the code i am getting an exception in the line FilterXpath = CreateObject("Excel.Application").filterxpath is the excel name.the exception states that 'cannot create Activex component'.so please suggest me what should i do. i tried using the dll as 'regsvr32 C:\Users\sridevi\Documents\Microsoft.Office.Interop.Excel.dll' but getting a message as 'dll is loaded but entry level dllregisterserver is not found.make sure it is a valid dll'.please i am breaking my head with this problem.waiting for help i have added the excel 'filterxpath' under resources.
PIA
Primary Interop Assembly
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)