Re: Unhandled exception with listDir() method (General questions)
Alex,
Can you show me a code snippet of how you call the mentioned Methods?
The Blocking Property needs to be set to True when you are using component in a scripting mode, where code is being executed line-per-line. If you use events to invoke Methods, you don't need the blocking.
I.e:
If you use Connect Method, and make ListDir Call in Connected Event, then you wouldn't need to set blocking property to true.
If you would however use Connect Method, and call ListDir Method right after the Connect, the component would start executing ListDir, although Connect hasn't finished yet. Blocking mode ensures that each method is completed before proceeding to next line in the code.
Regards,
Damba
Complete thread:
- Unhandled exception with listDir() method - Alex Bernhard, 2006-11-22, 10:40
- Re: Unhandled exception with listDir() method - wodDamir, 2006-11-22, 10:44
- Re: Unhandled exception with listDir() method - Alex Bernhard, 2006-11-22, 11:33
- Re: Unhandled exception with listDir() method - Alex Bernhard, 2006-11-22, 12:25
- Re: Unhandled exception with listDir() method - wodDamir, 2006-11-22, 12:36
- Re: Unhandled exception with listDir() method - Alex Bernhard, 2006-11-22, 13:42
- Re: Unhandled exception with listDir() method - wodDamir, 2006-11-22, 14:26
- Re: Unhandled exception with listDir() method - Alex Bernhard, 2006-11-22, 14:46
- Re: Unhandled exception with listDir() method - wodDamir, 2006-11-22, 14:26
- Re: Unhandled exception with listDir() method - Alex Bernhard, 2006-11-22, 13:42
- Re: Unhandled exception with listDir() method - wodDamir, 2006-11-22, 12:36
- Re: Unhandled exception with listDir() method - Alex Bernhard, 2006-11-22, 12:25
- Re: Unhandled exception with listDir() method - Alex Bernhard, 2006-11-22, 11:33
- Re: Unhandled exception with listDir() method - wodDamir, 2006-11-22, 10:44