Is it possible to control files from access ?

S

Shabbir

Hi

I want to be able to move and rename files in my C directory from a form within access... is this possible?

How can this be acheived?

Are there any examples that i could view?

Thank you
 
D

Douglas J. Steele

FSO doesn't give you that much more than you can do with the basic VBA
functionality. In terms of moving and renaming, I don't see any point in
adding the reference, especially since it can lead to versioning problems.
 
D

Douglas J. Steele

Any externally referenced object can lead to versioning problems, because
Access is extremely picky in how it resolves references. If you've got a
different version of FSO on your development workstation than the user has,
it's possible to run into a References problem, which can clobber other,
totally unrelated functions (typically VBA functions such as Left and
Format). Yes, this shouldn't happen, but Microsoft isn't always the best at
following the rules that they themselves developed to ensure binary
compatibility.

I see very little advantage in using FSO, so I avoid its use (and on the
very rare occasions when I do use it in an Access application, I use Late
Binding). I guess we'll have to agree to disagree on this one.
 
Top