I set a program to automatically load values from a temporary file.
However, there is a chance that the specific temporary file "C:\Temp\TU.tmp "
may not exist at all. In that case I want that specific routine to be
skipped. I guess this is a simple
If (that file exists)
Open "C:\Temp\TU.tmp " For Input As #3
etc.......
Else
GoTo
SkipOpeningProc ess
End If
and I just define point as "SkipOpeningPro cess" and that is fine.
My question is:
What is the command that will trace whether the actual temporary file
exists? If the file does not exist it is perfectly fine to skip this
process as it will be very easy for the traced data to be manually given by
the user.
I assume that's easy but not available in any VB6 book index, ...nor very
easy to find going through pages!
Thank you
J.C.
However, there is a chance that the specific temporary file "C:\Temp\TU.tmp "
may not exist at all. In that case I want that specific routine to be
skipped. I guess this is a simple
If (that file exists)
Open "C:\Temp\TU.tmp " For Input As #3
etc.......
Else
GoTo
SkipOpeningProc ess
End If
and I just define point as "SkipOpeningPro cess" and that is fine.
My question is:
What is the command that will trace whether the actual temporary file
exists? If the file does not exist it is perfectly fine to skip this
process as it will be very easy for the traced data to be manually given by
the user.
I assume that's easy but not available in any VB6 book index, ...nor very
easy to find going through pages!
Thank you
J.C.
Comment