Created
January 16, 2016 11:16
-
-
Save wingedpanther/50f75d5faa5eb2a63e7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim obj As Object = If(System.IO.File.Exists("C:\file.txt"), System.IO.File.ReadAllText("C:\file.txt").Length <> 20, False) | |
If obj Then | |
MessageBox.Show("Code executed!") | |
Else | |
MessageBox.Show("Failed to execute!") | |
End If |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment