by Glenn larsson (5 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Fri 14th April 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Sometimes you want to OPEN a file and you ahve to wait for a file to be created, i.e. some system task have to be executed before it dumps
On Error GoTo Failure
IXSTS:
DoEvents
If Dir(filename) = "" Then GoTo IXSTS
If FileLen(filename) = 0 Then GoTo IXSTS
IFFILENOWEXISTS = True
Exit Function
Failure:
IFFILENOWEXISTS = False
Exit Function
End Function
No comments have been posted about Sometimes you want to OPEN a file and you ahve to wait for a file to be created, i.e. some system t. Why not be the first to post a comment about Sometimes you want to OPEN a file and you ahve to wait for a file to be created, i.e. some system t.