Associate
I'm really hoping someone can help me here, as I am running out of ideas...
I created a vb.Net program on my XP dev machine which doeas a few things and them taps into Outlook to send an email (Using the COM Reference to Outlook Object 11.0).
On my machine it works fin, and on other machines it works fine.
However, on the numerous windows 2000 machine in the company, the program crashes when it tries to send the email.
I get
I thought at first that this may be a permissions problem, but even the admin account on the machine with full access to the install directory cannot do it.
I'm thinking it has something to do with the way Windows is handling the dll files (interop.outlook.dll, stdole.dll,msout.tlb, 1 more i can't remember). I'm pretty sure that .NET doesnt need to put the dlls in the system32 directory, it just uses them from the installed directory, but anyway i have tried copying them to the system32 directory and registering them (with little success)
I even used my monkey developers 2k machine to build the project. Still no luck.
Finally, I think I'm going to redo the whole project , including the setup project on the 2k dev machine.
Anyone got any other ideas? Unfortunately the boss doesnt want to upgrade all the 2k machines to xp just for this
I created a vb.Net program on my XP dev machine which doeas a few things and them taps into Outlook to send an email (Using the COM Reference to Outlook Object 11.0).
On my machine it works fin, and on other machines it works fine.
However, on the numerous windows 2000 machine in the company, the program crashes when it tries to send the email.
I get
Code:
System.Exception: Cannot create activeX component
at microsoft.vb.interaction.createobject(......)
I'm thinking it has something to do with the way Windows is handling the dll files (interop.outlook.dll, stdole.dll,msout.tlb, 1 more i can't remember). I'm pretty sure that .NET doesnt need to put the dlls in the system32 directory, it just uses them from the installed directory, but anyway i have tried copying them to the system32 directory and registering them (with little success)
I even used my monkey developers 2k machine to build the project. Still no luck.
Finally, I think I'm going to redo the whole project , including the setup project on the 2k dev machine.
Anyone got any other ideas? Unfortunately the boss doesnt want to upgrade all the 2k machines to xp just for this