Search Tools Links Login

Basic FileExist


Visual Basic 6, or VB Classic

Check to see if a File exists, simple code

Original Author: samon_18

Code

Dim Script As Object
Set Script = CreateObject("Scripting.filesystemobject")
If Script.FileExists("C:My DocumentsProg.exe") = True Then
'True code here
Else
'False code here
End if

About this post

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

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.