Hi. I am trying to show a message informing the user that a file already exists and then exit the button code. I am getting an error on the MessageBox line. I have tried MessageBox. show but that gives an eoor also.

Here is the code:

Code:
'Use filename chosen by user
        strFileName = lblChosenFile.Text

        strNewFileName = ForcastFileName(strFileName)
        If System.IO.File.Exists(strNewFileName) Then
            'The forcasted file exists
            'Delete the file
            'System.IO.File.Delete(strNewFileName)
            MessageBox = ("File has already been forcasted." a, "File Forcasted", vbOKOnly)
            Exit Sub
        End If