COM and VBA

  • Thread starter Thread starter George Hester
  • Start date Start date
G

George Hester

I have a COM which looks at emails as they arrive from the POP3 server and
decides if it is Spam or not. I would like my Subroutine to run prior or
after the COM's getting the eMail as it goes to the Inbox. When a COM
starts or finishes is there some way using VBA to determine that? Thanks.
 
Am Sun, 1 Oct 2006 17:29:06 -0400 schrieb George Hester:

With COM do you mean your addin?
 
It is called Spambayes. It's dll is called outlook_addin.dll. I looked in
the dll. Nothing looks public. There isn't anything in VBA which can be
used to get the initiation or demise of the COM? Like a True/False. True
it is running False it isn't?
 
Am Tue, 3 Oct 2006 13:48:53 -0400 schrieb George Hester:

That Addin (which is a COM-DLL) will be loaded or initialized at startup. If
it is your addin (that is if you have the source code and can edit and
compile it) then you could add events to it. That event could be received by
any other VBA code.
 
Ah very good. Yes we can get the source code I believe. I'll look into
that. Thanks Michael.
 
Back
Top