Redemption Vs Com Add-In

S

Siu Yan

I have two projects. One is using Com Add-In the other is usin
redemption.

Is there anybody knows that how come after I ran my redemption V
program, I run my Com Add-In VB program, the Com Add-In one won't wor
even the .dll file is in outlook already?

Is it because I didn't cleanup all of the redemption objects?

If so, how to clean them up? I have tried cleanup metho
already...Maybe I used it in wrong place...

Please help? :confused
 
K

Ken Slovak - [MVP - Outlook]

The program_vba group would be a better place for this type of post, and the
interface you are using to post with doesn't show any of the thread so make
sure if you answer that you put part of the preceding thread in your post so
people can follow the thread.

Redemption usage and COM addin usage aren't mutually exclusive. I use
Redemption in almost all my COM addins.

If you finish your standalone program does Outlook still show up in the Task
Manager as a process? If so you are not releasing all your objects, which is
keeping Outlook in memory. Make sure to set everything you instantiate to
Nothing and then before you release the MAPIUtils object use its Cleanup
method, then release it. Also make sure to release all your Outlook objects,
and if you are starting Outlook using automation make sure to Quit your
Application object before releasing it. That will allow Outlook to shut
down.

Once Outlook has been started your addin will have fired On_Connection. If
Outlook isn't released then On_Connection won't fire again. Also see the
ItemsCB COM addin sample (VB 6) on the Resources page at www.microeye.com
for an example of Outlook COM addin best practices and workarounds for
common Outlook COM addin bugs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top