Javascript activexobject Pop up suppression


  • Hi

    I am calling javascript function from my Silverlight C# application.

    Javascript function creates ActiveXobject for getting the Temporary Internet Files Folder path and

    then deletes all the files present in it.

    Now for this i need to enable the activeX from the Internet browser settings (prompt mode)

    Result: Whenver i refresh my application, the popup for ActiveX (use in unsafe mode) control keeps coming every time.

    I cannot enable activex control settings for unsafe scripts in "Enabled" mode.

    Please help me regarding:

    1. Any other approach to get the folder path of Temporary internet Files Folder and delete the files present in this


    2. Any other approach through Silverlight C# to get Temporary folder path and delete the files present in folder will also be appreciated.

    3. Any method to suppress the popup for activex control message (unsafe mode) will also be appreciated.

    Any Urgent help is really appreciated.


    Tom Kim

    Monday, December 12, 2011 8:07 AM


  • Hi,

    I think it is not a silverlight issue for silverlight is just as a plugin like flash.And ActiveXobject is related to

    I suggest you to post the thread to forums:

    Wednesday, December 14, 2011 4:10 AM