Error activexobject is not defined
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2020
01:55 AM
11-03-2020
01:55 AM
Error activexobject is not defined
Why do I get the error "activexobject is not defined"? (javascript)
function KillAllIntegralProcesses () {
const objShell = new ActiveXObject ("shell.приложение");
objShell.ShellExecute ('cmd.exe', 'taskkill /F /T / IM" Integral*"');
}
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2020
11:58 AM
11-03-2020
11:58 AM
Hi,
From https://support.smartbear.com/testcomplete/docs/scripting/specifics/javascript-for-jscript-users.htm... : "The new ActiveXObject() statement is not supported in JavaScript. Use getActiveXObject("prog-id") instead."
Regards,
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2020
10:58 PM
11-04-2020
10:58 PM
Thank you Alex!
Hi @YURIY1! Does this answer your question?
Sonya Mihaljova
Community and Education Specialist
