Does anybody know why when using the PreferenceActivtiy Library and getting the values from the Manager as in
If Manager.GetBoolean ("SomeItem") = True
DoSomething
Else
DoSomethingElse
End If
Results in a compiling error says "End Sub" missing.
Whereas if you change it to a select statement....
Select Manager.GetBoolean ("SomeItem")
Case True
DoSomething
Case False
DoSoemthingElse
End Select
.....You don't.
If Manager.GetBoolean ("SomeItem") = True
DoSomething
Else
DoSomethingElse
End If
Results in a compiling error says "End Sub" missing.
Whereas if you change it to a select statement....
Select Manager.GetBoolean ("SomeItem")
Case True
DoSomething
Case False
DoSoemthingElse
End Select
.....You don't.
Last edited: