VB Code:
  1. Private Sub Form_Load()
  2. Label2.Caption = "SSL + SET" & "digital cash"
  3.  
  4. 'the first instr will return 1
  5. 'the second instr will return 10
  6. 'if u do a And operation on 1 And 10 it will return 0 (false)
  7.  
  8. If InStr(Label2.Caption, "SSL + SET") And _
  9. InStr(Label2.Caption, "digital cash") Or _
  10. InStr(Label2.Caption, "SSL + SET") Then
  11.     MsgBox "sdfasd"
  12. End If
  13. MsgBox 1 And 10
  14.  
  15. 'u should do it like this :
  16. If InStr(Label2.Caption, "SSL + SET") <> 0 And _
  17. InStr(Label2.Caption, "digital cash") <> 0 Then
  18. '.
  19. '.
  20.  
  21. End Sub