Interacting with MS outlook n windows start up
Hi everyone!
I am doing some kind of processes based on email I receive
I am using MSoutlook's object and it is declared with withevent
Now when ever new email arrives it should execute the procedure
i know i can use newemai event but then i need to load the object when windows starts
i mean need to initialize object in Class_Initialize and that should execute with windows start up
I am using vb6 and developping a dll
if outlook's object is loaded then
it automatically triggers its newemail event when ever new email arrives in outlook
so i can call my procedure in new email event
but i need to execute that class initialize automatically, without user interaction
as this will be 24 - 7 activity.
Can anyone help me? Thanks
Surbhi
|