activex

Active X Control JavaScript

拈花ヽ惹草 提交于 2019-12-23 07:31:21
问题 My coworker and I have encountered a nasty situation where we have to use an active X control to manipulate a web camera on a page. Is it possible to assign a javascript event handler to a button in the active x control so that it would fire an action on the page when clicked, or do we have to create a button on the html page itself that manipulates the Active X Control and then can fire any necessary actions on the page? 回答1: Please just use an existing ActiveX control. Like Flash or

Create GUI in C# and call in VBScript

為{幸葍}努か 提交于 2019-12-23 04:42:18
问题 I try to make an ActiveX by C# with COM-visible. It is a Windows Form. I built it successfully as a dll ActiveX, then I wrote a VBScript code to call it. The from appeared but disappeared right after that. I don't know why @@ Here is my code: C# code using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; using Microsoft.Win32; using System

Auto Install activeX [closed]

穿精又带淫゛_ 提交于 2019-12-23 04:30:26
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 years ago . I'm a web developer and my current task is to build an ActiveX component. It's the first time I have to work with ActiveX and I managed to make an working example. However I cannot make the ActiveX install from a browser. When installing it using visual studio 2008 and running the web page all works as expected

How do you deploy an ActiveX control for ie from a VS2008 project?

白昼怎懂夜的黑 提交于 2019-12-23 03:44:25
问题 What are the steps to deploying a project created in VS2008 (windows forms and c#) as a ActiveX control hosted in ie? I have a file uploader project that I want to be hosted on a webpage that users can navigate to, click 'trust this active x control' and the application runs on the page in the browser, just like a java application. To be clear, I'm not looking for ClickOnce (that is an installer) and I don't want the user to have to modify their .Net security or add a trusted site (so just

Get list of Worksheet names using ActiveX to array in javaScript

 ̄綄美尐妖づ 提交于 2019-12-23 03:28:12
问题 How can i get a list of all available Sheet names for my excel file using ActiveX Object? I know this code Excel.ActiveWorkBook.Sheets returns the sheets... But how could I get the NAMES of these sheets in an array? function getTabs() { var w =new ActiveXObject("Excel.Application"); var book = w.Workbooks.Open(excelFile); alert(book.name); //here I get the filename of my xls file and it displays ok var ExcelSheet= book.Sheets; alert(ExcelSheet); //This alerts to 'undefined' w.Quit(); w=null;

Translate VBA syntax to Matlab for Activex control of Word document

做~自己de王妃 提交于 2019-12-23 01:52:09
问题 I am a newbie to using activex controls in matlab. Am trying to control a word document. I need help translating between VBA syntax and Matlab, I think. How would one code the following in matlab? Sub macro() With CaptionLabels("Table") .NumberStyle = wdCaptionNumberStyleArabic .IncludeChapterNumber = True .ChapterStyleLevel = 1 .Separator = wdSeparatorHyphen End With Selection.InsertCaption Label:="Table", TitleAutoText:="", Title:="", _ Position:=wdCaptionPositionAbove, ExcludeLabel:=0 End

ActiveX or BHO (internet explorer)

此生再无相见时 提交于 2019-12-22 18:39:08
问题 I need some help from the browser plugin/extension gurus :) Whats difference between BHO and activeX? Which one is harder? My purpose is to inject 3rd party script. Btw has IE something like localStorage in chrome and ff? Thanks 回答1: BHOs are loaded into the IE process at startup and are always running. ActiveX controls are webpage specific objects loaded on demand by a given page and their lifetime is tied to the lifetime of the document. Both are COM objects. They are equally hard for

python pyautocad,how to contruct an objectlist for COM

只愿长相守 提交于 2019-12-22 18:05:12
问题 This is an real project write by VBA before. I want change it to python for data processing is heavely. And, use 'ActiveX Automation scripts for AutoCAD with Python' method. code is below.My question is, how to contruct an object list for AddRegion? Maybe comtypes have some topic about VARINT. I really have no experience about COM and so on... # -*- coding: utf-8 -*- from pyautocad import Autocad, APoint, aDouble acad = Autocad(False, True) acad.prompt("Hello, Autocad from Python\n") print

Closing Excel ActiveX object from JavaScript leaves excel.exe in memory

孤街浪徒 提交于 2019-12-22 17:38:56
问题 function gbid(s) { return document.getElementById(s); } function GetData(cell,row) { var excel = new ActiveXObject("Excel.Application"); var excel_file = excel.Workbooks.Open("Z:/SunCenter/Medicare Customer Experience/Hub/CaliforniaHUB/Plans/H0562_2013_082_EOC.xlsx"); var excel_sheet = excel.Worksheets("Sheet1"); gbid('span1').innerText = excel_sheet.Cells(1191,1).Value; gbid('span2').innerText = excel_sheet.Cells(1192,1).Value; gbid('span3').innerText = excel_sheet.Cells(1192,3).Value; excel

Do VLC or WMP ActiveX controls accept Stream objects?

寵の児 提交于 2019-12-22 14:40:26
问题 I've got a WCF service that stories media files and returns them to consuming applications in the form of a Stream object. The issue arises when the consuming application wants to stream the media using MediaElement. As you all know, MediaElement doesn't accept Stream objects. Can I get around this by using a VLC or WMP ActiveX control? Would either of these two controls allow me to play streaming media? 回答1: Both of those two activex controls support various types of streaming media, but