scandir = Dir(DirAchada & "*.cls"
Do While scandir <> ""
FichAbertura = DirAchada & scandir
FichParaEscrever = Destdir
ScanFonteFicheiro FichAbertura, FichParaEscrever
scandir = Dir
Loop
-------------------------------------------------
This is my code, and when scandir = dir is hit, the program gives me an error! The error Says: "Invalid procedure call or argument!" Why?
How can i solve this?
Tkx
)
Do While scandir <> ""
FichAbertura = DirAchada & scandir
FichParaEscrever = Destdir
ScanFonteFicheiro FichAbertura, FichParaEscrever
scandir = Dir
Loop
-------------------------------------------------
This is my code, and when scandir = dir is hit, the program gives me an error! The error Says: "Invalid procedure call or argument!" Why?
How can i solve this?
Tkx