activex

html codes from external html-file in to textarea (any professional in active-x or javascript help me)

人盡茶涼 提交于 2019-11-30 10:01:50
问题 In the below code how can i make it load the file into a textarea where textarea path is parent.a.frame_name1.document.form_name1.textarea_name1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Local File I/O</title> <script type="text/javascript"> <!-- // Begin var ForReading = 1, ForWriting =

Is there an equivalent to out-of-process COM EXE in .NET?

我的梦境 提交于 2019-11-30 09:30:01
One of the nice things about COM/ActiveX was the out-of-process EXE. You could have an EXE which exposed methods and properties in a form usable by both other processes, including VBScript and JScript. At the same time the EXE could have its own functionality, related or unrelated to that exposed by its type library. What is the .NET equivalent? I have an existing VB6 project which is a scripting language interpreter (using MSScript) and a resource of various tool functions for other scripting languages. It has been suggested that I try converting it to .NET. Is this going to work, or will I

OLE Container for .NET

无人久伴 提交于 2019-11-30 09:20:40
问题 I'm working on a project that requires me to load an OLE object and render it in a .NET WinForm app (C#). Unlike VB6 .NET has no built in OLE container, and the recommended approach is to use the WebBrowser control which supports displaying ActiveX content. The issue I have is the provider of the OLE object in question does not have an ActiveX control available. Simply put is there any way to load an OLE object onto a WinForm? Or will I need to write an ActiveX control that loads the OLE

Win32: Registry entries required to register an ActiveX control?

情到浓时终转凉″ 提交于 2019-11-30 06:55:58
问题 i need write the code that runs when DllRegisterServer is called. i.e. when someone calls: regsvr32 myActiveX.ocx i'm trying to find the definitive list of required registry entries (rather than just what i can cobble together by spellunking through the registry). So far my expeditions have found: HKEY_CLASSES_ROOT \MyCoolLibrary.MyCoolControl \Clsid (default) = "{myClassId}" \CLSID \{myClassId} \Control \InprocServer32 (default) = "c:\foo\myActiveX.ocx" ThreadingModel = "Apartment"

Changing “active content” security settings on WPF WebBrowser control

穿精又带淫゛_ 提交于 2019-11-30 06:26:36
I'm putting together a WPF application that will allow users to view PowerPoint files through the WebBrowser control, once the files have been saved as either .MHT or .HTML. The problem is that the files contain ActiveX controls, and the WebBrowser control by default will display a warning every time I load these files, saying "To help protect your security, your web browser has restricted this file from showing active content that could access your computer." I've seen a few different places online talk about putting the mark of the web into each page, but that really doesn't work for me in

How to Enable ActiveX in Chrome?

人盡茶涼 提交于 2019-11-29 23:21:26
I read that early builds of Chrome supported ActiveX, but was later restricted to certain MIME types (for support for say Windows Media Player). I then read Google was going to enable ActiveX strictly for the Korean market. How do I (re)enable this in Chrome? Our web based product relies on ActiveX controls from 3rd parties to play custom video. This limits us to IE. We'd love to support Chrome also, but find it impossible w/o ActiveX support. There is a proprietary plugin called "Neptune" which says that it will allow you to use IE Tab functionality in Chrome on Windows. Meadroid do this

Pass Array From C# COM object to JavaScript?

好久不见. 提交于 2019-11-29 22:55:41
问题 Similar to this How do I return an array of strings from an ActiveX object to JScript but in C#. I have an COM control that passes back an array of strings to javascript. It seems like javascript cant understand what it is I am passing back and the array in javascript is always undefined. Javascript: try { keystore.openKeyStore("MY", true, false); var fNames = new Array(); fNames = keystore.getAllFriendlyNames(); document.getElementById('par').innerHTML = fNames[0]; } catch(err) { document

Is Google Chrome embeddable?

给你一囗甜甜゛ 提交于 2019-11-29 22:17:02
I've asked myself if one can embed the google chrome browser engine in an own application. I'm using Delphi 2009. There's an IE ActiveX wrapper component delivered with the IDE. Also, there's a Firefox ActiveX component out there, but it's based on very old code. I'd like to embed the chrome engine. Is there a way to do this? Thanks in advance, David Anton Gogolev Google Chrome is basically WebKit layout engine + nice UI. And WebKit can be embedded . There's also chromium embedded framework (CEF) . And finally, check out Awesomium . Update 2: A very good fit for this would be the new Electron

Excel 2010 ActiveX Controls No Longer Working After Windows Updates [duplicate]

前提是你 提交于 2019-11-29 19:58:08
问题 This question already has an answer here: Microsoft Excel ActiveX Controls Disabled? 11 answers So at work I ran into this issue after I installed the most recent Windows 7 updates (including Microsoft Office 2010 updates) - the date up the update was today (Dec 12, 2014). After the update, I opened my macro enabled workbook in Excel 2010 and basically anything that referenced ActiveX controls (checkboxes, buttons) no longer worked. My auto_open was checking checkboxes and couldn't run... it

“Cannot insert object” error when adding ActiveX control like Microsoft DataGrid to Excel sheet [duplicate]

狂风中的少年 提交于 2019-11-29 19:12:15
问题 This question already has answers here : Microsoft Excel ActiveX Controls Disabled? (11 answers) Closed 4 years ago . One of the users of our iGrid ActiveX grid control needs to insert it directly into an MS Excel sheet, but they have not managed to do that - the "Cannot insert object" error is generated all the time. We can also reproduce this problem on our test pc under Win7 64-bit and MS Office 2010 32-bit. This COM control is properly registered in the OS and can be added to VBA