Search Tools Links Login

Check if a file exist!

This will check if a dam*n file exists the easy and "right" way! Plz vote for this code if you like it!

Original Author: VisualBlind


Dim fso
Dim strFile As String
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists("c:windowsCalc.exe") Then
  MsgBox "It does exist", vbInformation, "Does Exist"
  MsgBox "It does not exist!", vbExclamation, "Doesn't Exist"
  End If

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 131 times


Visual Basic 6


No attachments for this post

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.