I have a function that converts a file to another formait. But sometimes it
might take up to 50-100 milliseconds before the file exists on the location
the folder is looking for.
I want something like
if file.exists(filename) then
convert(filename)
else
wait(100)
If file.exists(file) then
convert(filename)
end if
is there a wait function in vb.net?
I want to call the wait in a windows form application and not in the DLL
that reads the file and converts it....