L
Lucas Campos
Hi,
I'd like to execute an external program (through WScript.Shell) when the
user tries to open a particular inspector (for example open a IE browser
instead of a mail) using OL forms.
So I created a form and placed my execution code in the Open Item Event
Handler. The problem is that when I tried to avoid the OL form to open (in
order to just execute the external program) I set the Item_Open property to
false but I couldn't find a way to distinguish when the form is opened in
Design mode and when is opened in run mode, so if I set false to this
property I can't open the form in design mode any more.
Is there any way to distinguish between design and run mode?
Is there any other recommended way to do that?
Any idea will be welcome,
Regards
LucasC
I'd like to execute an external program (through WScript.Shell) when the
user tries to open a particular inspector (for example open a IE browser
instead of a mail) using OL forms.
So I created a form and placed my execution code in the Open Item Event
Handler. The problem is that when I tried to avoid the OL form to open (in
order to just execute the external program) I set the Item_Open property to
false but I couldn't find a way to distinguish when the form is opened in
Design mode and when is opened in run mode, so if I set false to this
property I can't open the form in design mode any more.
Is there any way to distinguish between design and run mode?
Is there any other recommended way to do that?
Any idea will be welcome,
Regards
LucasC