photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: scw2wi on March 10, 2016, 11:32:02 PM

Title: ActiveXObject not working in Apps
Post by: scw2wi on March 10, 2016, 11:32:02 PM
I'm trying to send data from an IMatch App to Excel,
but the following line gives the Error: Automation server can't create object.

var objExcel = new ActiveXObject ("Excel.Application");

Since I couldn't find any example where ActiveXObject is being used,
maybe this code is not working in Apps together with IE11,
although I have enabled ActiveX (save and unsave) in my browser settings for local intranet.

Walter
Title: Re: ActiveXObject not working in Apps
Post by: Mario on March 11, 2016, 08:24:30 AM
Probably this is prevented by the security inside the browser. Search the web for examples to see if this is possible at all. I've never tried this so I cannot help you here.
Title: Re: ActiveXObject not working in Apps
Post by: scw2wi on March 11, 2016, 07:28:39 PM
Yes I made a search and found many issues with ActiveX in Combination with IE11.
I hoped that someone had ever used this feature an knows more about it.
If not I will find another solution.

Walter