VB equivalent

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
 
C

Chris Nebinger

You can also just kill the file, then trap the error and
ignore it.


Chris Nebinger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top