- You set the caption of Label7 to user, but then check Label2, not Label7.
- You should use And instead of Or. The Or condition will always evaluate to True.
If Not Label2.Text = "STUPREMAT\B.Nizar" And Not Label2.Text = "STUPREMAT\B.ATIK" And Not Label2.Text = "STUPREMAT\M.houssem" Then
Alternatively, place Not outside parentheses:
If Not (Label2.Text = "STUPREMAT\B.Nizar" Or Label2.Text = "STUPREMAT\B.ATIK" Or Label2.Text = "STUPREMAT\M.houssem") Then