T
ttiefenbach
In my 'ThisOutlookSession' I have the following code:
Private Sub Application_Startup()
Set MyObject = Application.CreateItem(olJournalItem)
MyObject.Type = "EventLog"
MyObject.Subject = "LogOn " & Time
MyObject.Start = Date & " " & Time
MyObject.Save
End Sub
Private Sub Application_Quit()
Set MyObject = Application.CreateItem(olJournalItem)
MyObject.Type = "EventLog"
MyObject.Subject = "LogOff " & Time
MyObject.Start = Date & " " & Time
MyObject.Save
End Sub
However, this doesn't seem to work. The entries are never created.
How can I get this to work? I'm using Outlook 2000 in WIN98.
Thanks for your help
Private Sub Application_Startup()
Set MyObject = Application.CreateItem(olJournalItem)
MyObject.Type = "EventLog"
MyObject.Subject = "LogOn " & Time
MyObject.Start = Date & " " & Time
MyObject.Save
End Sub
Private Sub Application_Quit()
Set MyObject = Application.CreateItem(olJournalItem)
MyObject.Type = "EventLog"
MyObject.Subject = "LogOff " & Time
MyObject.Start = Date & " " & Time
MyObject.Save
End Sub
However, this doesn't seem to work. The entries are never created.
How can I get this to work? I'm using Outlook 2000 in WIN98.
Thanks for your help