ActiveX control error with VB script code"ActiveX - InfoPath Dev
in

InfoPath Dev

ActiveX control error with VB script code"ActiveX

Last post 07-30-2006 11:05 PM by K.Ramana Reddy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-29-2006 05:13 PM

    ActiveX control error with VB script code"ActiveX

    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.
  • 07-30-2006 11:05 PM In reply to

    Re: ActiveX control error with VB script code"ActiveX

    Hi,
    Inorder for your code code to run,
    your form will need to be "fully trusted".You can make your form fully trusted by using either digital certificates or building an install package
    for your form using the "RegForm" tool from the InfoPath SDK.

    I hope this will help you,
    Thanks.
    K.Ramana Reddy / http://www.ggktech.com
    India.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.