I Everybody,
Concerning the Time change this week-end we need to update notes.ini file for every notes clients of the company.
About the doc of IBM… we need to change the Environment Variable “UseNotesTimeZone” if the value exist and if is not = 0. (ie: UseNotesTimeZone=1)
We must delete the variable OR set it to 0
I want create a button with LotusScript code and send it by email of every Notes users of the Company.
When I used this code I always have a empty string even if I change my notes.ini file with a value in UseNotesTimeZone.
ie: UseNotesTimeZone=1
here My code:
Sub Click(Source As Button)
Dim EnvValeur2 As String
EnvValeur2 = Environ$(“UseNotesTimeZone”)
Msgbox EnvValeur2
If Isnull(EnvValeur2) Then
Msgbox("value is NULL" & Chr(13) & EnvValeur2)
Elseif EnvValeur2 = “0” Then
Msgbox("Value is 0: " & Chr(13) & EnvValeur2)
Elseif EnvValeur2=“” Then
’ *** IM ALWAYS HERE EVEN IF I HAVE A VALUE IN THE VARIABLE!
Msgbox("value is empty" & Chr(13) & EnvValeur2)
Else
Msgbox("THE VALUE IS:" & Chr(13) & EnvValeur2)
End If
End Sub
Why I have an empty string instead the real value (“1”)
Thanks