Dir Function on Network

P

Peter Hibbs

Quick question -

Does the Dir function work over a network connection.

For example, if the string strPath holds the full path to a file on
the server would the line below work correctly.

If Dir(strPath) = "" Then

Haven't got a network at home so I can't try it at the moment.

Peter Hibbs.
 
R

Rick Brandt

Peter said:
Quick question -

Does the Dir function work over a network connection.

For example, if the string strPath holds the full path to a file on
the server would the line below work correctly.

If Dir(strPath) = "" Then

Haven't got a network at home so I can't try it at the moment.

Peter Hibbs.

Yes.
 

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