Hi,

I just wanted to know if it's possible to disable event producing when you click cancel on a commondialog form.

Exemple :

With a OpenFileDialog, I click the button open on my prog it launch the OpenFileDialog, I use it to open my DB. Then I reclick open button in my prog, the OpenFileDialog open again and the name of the previously openned DB is by default selected (until there no prob, it's normal), but then If I click Cancel it reopen the DB again, even if I delete the name of the DB in the OpenFileDialog.

Is there a way to prevent this, or maybe clear the buffer or something like this ?

Thansk in advance