R
reggiep
Hi,
I have an event handler called by:
Private Sub Application_Startup()
Set ns = ThisOutlookSession.Session
Set inboxItems = ns.GetDefaultFolder(olFolderInbox).Items
Set myExplorer = Application.ActiveExplorer
MsgBox "Event handler running"
' my warning
End Sub
the event handler processes the item and saves it as a .txt file in a
directory decided by the message contents:
Private Sub inboxItems_ItemAdd(ByVal Item As Object)
......
End Sub
I have two questions (please).
The event handler occasionally stops working. The only was to get it to work
again is by rebooting the PC. If I just close Outlook and restart it, I
sometimes get the "Event handler running" message, but it never works.
Also I read that too many messages being received can stop the event
handler. Is there a known number - or even an approximation?
I can supply the event handler code, but as it works normally I didn't think
it relevant.
Thank you in advance,
Richard
(pretty much a novice)
I have an event handler called by:
Private Sub Application_Startup()
Set ns = ThisOutlookSession.Session
Set inboxItems = ns.GetDefaultFolder(olFolderInbox).Items
Set myExplorer = Application.ActiveExplorer
MsgBox "Event handler running"
' my warning
End Sub
the event handler processes the item and saves it as a .txt file in a
directory decided by the message contents:
Private Sub inboxItems_ItemAdd(ByVal Item As Object)
......
End Sub
I have two questions (please).
The event handler occasionally stops working. The only was to get it to work
again is by rebooting the PC. If I just close Outlook and restart it, I
sometimes get the "Event handler running" message, but it never works.
Also I read that too many messages being received can stop the event
handler. Is there a known number - or even an approximation?
I can supply the event handler code, but as it works normally I didn't think
it relevant.
Thank you in advance,
Richard
(pretty much a novice)