Firstly, thanks to those who helped with the deleting files question i had. Works like a charm! All files delete nicely, and with a little tinkering on my part, they also delete from all subfolders.
My problem now, involves deleting folders. The RmDir only works when a folder is empty, else it...
Anyone got an idea on this one??
I want something that will flush out my folder of all files when my user clicks a button. Does the FileSystemObject support this?
thanks in advance!!
g,day
i'm new to the vb world and was wondering if someone could fill me in on the necessary steps involved in migrating a vb application. We are trying to take an exe that exists on one of our machines and relocate it to our server. I have tried copying and pasting the project (with its...
Im using excel 97, and have tried both ways of launching the vb app - directly and through the dialog box. your code appears to work, that is - the dialog box pops up no probs, and it filters on the file type your looking for, but when attempting to launch, the 'file not found' error appears...
thanks, some neat code - the one problem i'm having, though, is a file not found error. I've got my VB project and forms in the right path though i keep getting a 'error 53 - file not found'. . In fact i've tested this with a simple text file as well and this doesn't work either. The help file...
Can this be done?
I have an existing VB 'parser' program that publishes a whole series of reports from one format (ppr) to another (html). When a user clicks on a button on my Excel macro i want it to fire off this VB program. I've heard (probable erroneously?) that you cant call a VB program...
thx guys - both ways work great, though they do ignore any nested folders. Is there a simple way to have all nested folders also copied up ?? Does the FileSystemObject support Directories?
thx
Sir James
Thanks Dale for pointing out my oversight (and the interesting explorer tip).
The fact is, I am trying to do this in code and prior to doing it I wanted to see how others went about tackling this. What i'm trying to do is on a click event, fire the contents of one directory into another...
Anyone know the most efficient way possible to copy the contents of one directory to that of another including all nested files and folders.
thanks in advance!!
Steve
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.