VB equivalent

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Hi all,
Can anybody please tell me the VB equivalent for IF EXIST?
Basically, I need to determine if a file exists on a users
home drive. If so, KILL the file then FILECOPY a new one,
if not show a MSGBOX.
I've got all the code sorted out, except for this part.
Thanks in advance.
Dave
 
You can also just kill the file, then trap the error and
ignore it.


Chris Nebinger
 
Back
Top