activex

ActiveX Legacy Code not displaying Excel Application window

给你一囗甜甜゛ 提交于 2020-12-13 21:12:56
问题 I have the following legacy javascript code that runs ActiveX in an html report. This code works and displays an Excel sheet on the user's screen filled up with data from my report. //some initialisations here var Excel, Book; // Create the Excel application object. Excel = new ActiveXObject("Excel.Application"); // Make Excel visible. Excel.Visible = true; // Create a new work book. Book = Excel.Workbooks.Add(); //headers[] init here for (var j = 0; j < colCount; j++) { //setting my report

ActiveX Legacy Code not displaying Excel Application window

对着背影说爱祢 提交于 2020-12-13 21:09:40
问题 I have the following legacy javascript code that runs ActiveX in an html report. This code works and displays an Excel sheet on the user's screen filled up with data from my report. //some initialisations here var Excel, Book; // Create the Excel application object. Excel = new ActiveXObject("Excel.Application"); // Make Excel visible. Excel.Visible = true; // Create a new work book. Book = Excel.Workbooks.Add(); //headers[] init here for (var j = 0; j < colCount; j++) { //setting my report

ActiveX Legacy Code not displaying Excel Application window

断了今生、忘了曾经 提交于 2020-12-13 21:09:12
问题 I have the following legacy javascript code that runs ActiveX in an html report. This code works and displays an Excel sheet on the user's screen filled up with data from my report. //some initialisations here var Excel, Book; // Create the Excel application object. Excel = new ActiveXObject("Excel.Application"); // Make Excel visible. Excel.Visible = true; // Create a new work book. Book = Excel.Workbooks.Add(); //headers[] init here for (var j = 0; j < colCount; j++) { //setting my report

ActiveX Legacy Code not displaying Excel Application window

混江龙づ霸主 提交于 2020-12-13 21:07:31
问题 I have the following legacy javascript code that runs ActiveX in an html report. This code works and displays an Excel sheet on the user's screen filled up with data from my report. //some initialisations here var Excel, Book; // Create the Excel application object. Excel = new ActiveXObject("Excel.Application"); // Make Excel visible. Excel.Visible = true; // Create a new work book. Book = Excel.Workbooks.Add(); //headers[] init here for (var j = 0; j < colCount; j++) { //setting my report

Reducing WithEvent declarations and subs with VBA and ActiveX

杀马特。学长 韩版系。学妹 提交于 2020-08-26 09:43:26
问题 On a worksheet I have 3 ActiveX objects being TextBox1, TextBox2, ListBox1 Leaving other code out I have a class clsEvents that contains Private WithEvents txbControl As MSForms.TextBox Private WithEvents lisControl As MSForms.ListBox Private txbEvents As TextBoxEvents Private lisEvents As ListBoxEvents Private Sub txbControl_Change() txbEvents.ChangeEvent txbControl End Sub Private Sub lisControl_Change() lisEvents.ChangeEvent lisControl End Sub and the classes TextBoxEvents and

Packaging ActiveX Controls with Wix MSI [closed]

纵然是瞬间 提交于 2020-06-28 11:00:45
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . Improve this question I need to create MSI using Wix. My application has Active X control . When any user gets connected or visit the URL on the web my application needs to be installed in the user machine. The path where I need to install is C:\Windows\Downloaded Program Files

How to disable “ActiveX Control May Be Unsafe” popup

落爺英雄遲暮 提交于 2020-06-09 11:26:07
问题 In an HTML file on My Computer, I'm trying to use the Scripting.FileSystemObject in a script. How can I disable the popup saying "Any ActiveX control on this page may be unsafe for scripting"? The "Internet Options" Security pane allows one to set "Initialize and script ActiveX controls not marked as safe for scripting" to Enabled for various zones, but files on the local computer don't appear to be in any of the listed zones. So I guess the alternate question is "How can I edit the security

ActiveX in WPF MVVM Light application

那年仲夏 提交于 2020-06-01 07:40:38
问题 I am new to C# WPF programming and working on a WPF-Application that has to include a legacy ActiveX component. I know ActiveX is kind of dead but I have to use it in this case unfortunately. I use MVVM Light with an IFrameNavigationService as shown in this post. Furthermore I used this example to bind the ActiveX component into the view to follow the guidlines of MVVM which is probalby not the best way in my opinion. On each navigation I have to wait until page is loaded to connect with the