Assuming you have added the setting run as a boolean varaible. True or false should not be in quotes.
You do not need the
ElseIf:
second conditional on a boolean test, it's either true or false.
If My.Settings.run = False Then
MsgBox("Can't Run")
Else
End If
You might consider using a phrase other than "Can't Run" in your message box. It sounds unprofessional. You may consider something along the lines of “Unable to perform that action” or something more descriptive of what they are unable to do with a description of what they need to do in order to have the application run.
Regards