Hi everyone,
I have a question would like to ask. So far I know how to retrieve files from device, but sometimes device takes so long to produce file so I want my desktop to keep checking every 3seconds to see if file exist. Here is the conditions.
1- if file exists after checking for exisitng is True, then desktop application will continue to do other stuff.
2- if file doesn't exist after three times of checking, then desktop sends messagebox unable to retrieve file.
can someone help me on that? I'm stuck on how can I keep checking every 3 seconds, but not more than 3 times.
thanks in advance.
I have a question would like to ask. So far I know how to retrieve files from device, but sometimes device takes so long to produce file so I want my desktop to keep checking every 3seconds to see if file exist. Here is the conditions.
1- if file exists after checking for exisitng is True, then desktop application will continue to do other stuff.
2- if file doesn't exist after three times of checking, then desktop sends messagebox unable to retrieve file.
can someone help me on that? I'm stuck on how can I keep checking every 3 seconds, but not more than 3 times.
thanks in advance.
Comment