Problem with interop.excel.dll

  • Thread starter Thread starter samos
  • Start date Start date
S

samos

Hi

I have a problem with a dll mentioned in subject.

When I developed my app everything was OK but when I copied it to another
comp program crashed while trying to create an excel object.

I developed it on comp with w2k and office 2k3 and tried it out on w98 and
office 97.

Unfortunatly I don't gave the hole exception message.

Any guesses what may be wrong? Do I have to register this dll? Like I said I
just copied it. I tried to register it with regsrv32 but it came out with an
error message saying that the dll file is incorrect. :-(


samos
 
Exactly. Your project has a reference to the office 2003 version of Excel.
Your application won't run properly on machines without office 2003. You
may need to adjust your application to support 97 by reference it instead.
 
Hi,

i also had same problem when i was using Outlook, but when i copied my old
dlls in bin directory it was working fine. you also could do the same. take
your dlls (2k3) and put into client's system (din dir).

Thanks
Ritesh
 
Back
Top