G
Guest
Hi;
What is the correct syntax for checking for a file's existence based on it's
extension ?
Example:
Imports system.io
Dim path as string = "C:\myDirectory\*.txt"
then
If file.exists(path) then
msgBox("File exists")
end if
The *.txt is ignored.
Thanks for your help
What is the correct syntax for checking for a file's existence based on it's
extension ?
Example:
Imports system.io
Dim path as string = "C:\myDirectory\*.txt"
then
If file.exists(path) then
msgBox("File exists")
end if
The *.txt is ignored.
Thanks for your help