Re: How can i check whether a file exists? (General questions)
David,
Are you using blocking or non-blocking mode?
You could also use CheckDir or Rename (and specify both parameters to be same) methods.
Regards,
Damba
The blocking property = True.
I've added an AttributesDelegate method and passed this to the component. Even when i call GetAttributes and specify a file that does not exist, it still fires the event! No errors.
These components are difficult to work with.
Complete thread:
- How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 14:28
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 14:33
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 14:40
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 14:55
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 15:05
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:10
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:19
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:26
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 15:49
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:55
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 15:49
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:26
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:19
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:10
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 15:05
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 14:55
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 14:40
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 14:33