>How do i check to be sure a file exists before I open it?
>
>I see the GetAttr() function, but I get an error of the file is
>not there.
>
>Thanks
Use the fileSystemObject to check for file exist - such as -
dim fs.filesystemobject
set fs = new filesystemobject
if fs.FileExist(\\myfile) then
do something
else
do something else
endif
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°¤º°`°º¤ø¤º°¤º°
Carl Evans
CEO & President
System Answers Consulting, Inc.
MCSD .NET, ASP.NET, C#.NET, VB.NET,