Results 1 to 2 of 2

Thread: Real Real real SImple question!

  1. #1

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    how could I make a 'if not equal then message box an error' in this part of the program

    Private Sub Command1_Click()
    MP.FileName = File1.Path + "\" + File1.FileName
    MP.Play
    End Sub

  2. #2
    Guest

    Not equal to what???????????????

    Are you after something like

    If MP.Filename <> sFileName then
    Msgbox Error.mEssage,vbcritical,Gee a Heading
    do whatever
    End If

    Need more explanation.............

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width