Class LogHelper Private v As Variant Sub New Dim ns As New NotesSession v= ns.GetEnvironmentString("LogStatusBar", True) Call ns.SetEnvironmentVar("LogStatusBar", "1", True) End Sub Sub Delete Dim ns As New NotesSession Call ns.SetEnvironmentVar("LogStatusBar", v, True) End Sub End Class