Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 02-01-2018, 11:02 AM
mschaafs mschaafs is offline
Registered User
Join Date: Oct 2017
Posts: 27
Unhappy Windows 10 Internet Explorer ActiveX Failing

Good day! I have someone trying to run my SecureCRT/Javascript application on their Windows 10 machine with IE 11 and it is not running properly. The ActiveXObject that is working perfectly on my Windows 7 IE 11 platform.

//Get a reference to IE's Application object
var g_objIE = new ActiveXObject("InternetExplorer.Application");
g_objIE.Offline = true;
g_objIE.navigate("Title of the Application");

//This loop is required to allow the IE object to finish loading... 
var htmlFile = "_Dialog_Template.html";
var newDomDoc = ReplaceData(ReadFileG(htmlFile));  // Get html content
When the navigate command is being called, it is causing Windows to pop up a dialog for downloading an app (go to the app store). When I take that line out, it is failing on the document.write line with a non-descriptive "Error".

I have made sure ActiveX was enabled in the security settings in IE as well as checking the box to allow local active content to run on my computer. I have tried throwing in some hard coded simple html in the write command... none of which worked. Please help as there doesn't seem to be jack online about this issue either.

Thank you!

Last edited by mschaafs; 02-01-2018 at 11:04 AM.
Reply With Quote

activex , internet explorer , popup , windows 10 , wscript

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 09:17 AM.