Skip to content

Instantly share code, notes, and snippets.

@facebookegypt
Created February 11, 2014 22:28
Show Gist options
  • Save facebookegypt/8945575 to your computer and use it in GitHub Desktop.
Save facebookegypt/8945575 to your computer and use it in GitHub Desktop.
'Visual Basic Online Course
'VB 2010 Make sure a file exists
Function AppExists() As Boolean
Dim AppPath As String = ("C:\folder\sample\app.exe")
If IO.File.Exists(AppPath) = True Then
Return True
Else
Return False
End If
End Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment