anjosafado
Member
-----( this application writes the name of the directory that should be done to find)-----------------------
Table2.AddCol(cString,"Column1",145)
Table2.Cell("Column1",1) = "AppPath&"&Chr(34)&"\sysdata\"&Chr(34)
Table2.SaveCSV ("c:\mytable.csv", "," ,False)
________________________________
------(another application that reads the directory that should be done to find and list the files.)-------------
Table2.LoadCSV ("c:\mytable.csv", ",", false, true)
myvaluedir = Table2.Cell ("Column1",1)
FileSearch ( mylist , myvaluedir , "*.*")
_______________________________________________
The problem is that the variable "myvaluedir" is read as text, not in code.
myvaluedir is : AppPath&"\sysdata\"
the error message is:-> illegal characters in path in FileSearch
__________________________________
if I write manually
FileSearch ( mylist , AppPath&"\sysdata\" , "*.*")
at the end it displays correctly
Table2.AddCol(cString,"Column1",145)
Table2.Cell("Column1",1) = "AppPath&"&Chr(34)&"\sysdata\"&Chr(34)
Table2.SaveCSV ("c:\mytable.csv", "," ,False)
________________________________
------(another application that reads the directory that should be done to find and list the files.)-------------
Table2.LoadCSV ("c:\mytable.csv", ",", false, true)
myvaluedir = Table2.Cell ("Column1",1)
FileSearch ( mylist , myvaluedir , "*.*")
_______________________________________________
The problem is that the variable "myvaluedir" is read as text, not in code.
myvaluedir is : AppPath&"\sysdata\"
the error message is:-> illegal characters in path in FileSearch
__________________________________
if I write manually
FileSearch ( mylist , AppPath&"\sysdata\" , "*.*")
at the end it displays correctly