Hi
I am using Filesearch to find a list of files in a directory, and then to
take the data and put it into an Access database. The code was working well
within VBA and I have ported it into VB6, and it no longer works.
Basically code is as follows:
Dim fsAllFiles as Office.Filesear ch
Set fsAllFiles = Application.Fil esearch
Here I get an Object Required error which I can't figure.
Any help appreciated.
Cheers
Kevin
I am using Filesearch to find a list of files in a directory, and then to
take the data and put it into an Access database. The code was working well
within VBA and I have ported it into VB6, and it no longer works.
Basically code is as follows:
Dim fsAllFiles as Office.Filesear ch
Set fsAllFiles = Application.Fil esearch
Here I get an Object Required error which I can't figure.
Any help appreciated.
Cheers
Kevin
Comment