Hi,
I have created an InfoPath form, there is a button and under this button,I have wrote a VB code, so that after clicking the button, an application will invoke, but after clicking the button, I am getting the error message ActiveX component can't create object "WSscript".
But when I open the form in design form, then clicking the preview view from the design mode, then it's working fine, can you please advise, how can I get rid of the error "ActiveX component can't create object WSscipt" without going inn design mode.
Thanks,
Raj Vasal.