Forum Discussion

nikki85's avatar
nikki85
Contributor
8 years ago

how to create com component object

VBscript:
set Object=Wscript.CreateObject("Ade.Application.50")

Throw error:  object required :"Wscript"

 

how to create com component  object 

 

thanks

  • Hi nikki85,

      Instead of using  WScript.CreateObject modify your script to

     

       set Object = CreateObject ("Ade.Application.50")

     

    Hope this might help.

     

    Regards,

    Sanjay