Something like that:
Private Sub Form_Load()
If DCount("*", "NameOfYourProjectTable") = 0 Then
Me.NameOfTheSetupButton.Enabled = False
Me.NameOfTheLogOutButton.Enabled = False
' ...and so on
Else
Me.NameOfTheButton.Enabled = True
Me.NameOfTheLogOutButton.Enabled = True
' ...and so on
End If
End Sub