activex

Win32: Registry entries required to register an ActiveX control?

拈花ヽ惹草 提交于 2019-11-28 21:40:36
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" \MiscStatus \1 (default) = 205201 \ProgID (default) = "MyCoolLibrary.MyCoolControl" \ToolboxBitmap32 (default) =

ADODBCould not load type 'ADODB.FieldsToInternalFieldsMarshaler' from assembly

梦想的初衷 提交于 2019-11-28 21:18:14
I'm trying to read an ADOBD.Recordset object like this (my first time, so pardon my "noobness" :D): Presentation.Category categorySvc = new Presentation.Category(); ADODB.Recordset categories = categorySvc.ListAll("BE", "DUE", "EN", 128); foreach (var category in categories.Fields) // here is where I get the exception { // ... } The ListAll call works fine - I get the Recordset with some data which I confirm that by doing a QuickWatch on the object. But when the code reach the categories.Fields I get the following exception: Could not load type 'ADODB.FieldsToInternalFieldsMarshaler' from

Need PDF viewer control - tried a lot [closed]

二次信任 提交于 2019-11-28 20:47:07
I'm looking for a component to view and print PDF files from Delphi/C++Builder. Delphi or ActiveX, not .NET. The license must be for royalty free distribution and the viewer must not require Adobe Reader to be installed. So far I have tried: Gnostice PDFtoolkit: Display problems with JPX images Radaee PDF Viewer: Fast rendering, but crashes. NO reply from support. VeryPDF: Slow rendering, but reliable. No printing WPViewPDF: Messed up layout of most PDFs GdViewer: No continuous multi-page display QuickPDF library: No continuous multi-page display eXPert PDF Viewer: Use not allowed for generic

How to Enable ActiveX in Chrome?

北城以北 提交于 2019-11-28 20:39:22
问题 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. 回答1: There is a proprietary plugin called

Test if an ActiveX control is installed with Javascript?

£可爱£侵袭症+ 提交于 2019-11-28 18:50:33
Is there a way to test if an ActiveX control is installed using Javascript? function AXOrNull(progId) { try { return new ActiveXObject(progId); } catch (ex) { return null; } } Solution, try to invoke a new ActiveXObject: function testForActiveX(){ tester = null; try { tester = new ActiveXObject('htmlfile'); } catch (e) { // catch the exception } if (tester) { // ActiveX is installed return true; } return false; } try{ if(new ActiveXObject("Nameofplugin")){ // write your code if plugin available } else{ // write your code if plugin is not available } } catch(erro){ //write your code if plugin

Barcode Xpress下载介绍及下载

空扰寡人 提交于 2019-11-28 18:08:12
Barcode Xpress 是一款优秀的、高速的1D和2D条码生成、检测、识别控件,可以把条码放置在页面任何位置,支持Code 39 和128,UPC, EAN,4-state postal codes等一维条码和 DataMatrix , QR Code, PDF417, Aztec二维条码 具体功能: 支持彩色条码,可以从24位彩色和8位灰色图像中读 支持放置条码在页面任何位置和任何方向 提供的.NET版可用于Visual Studio 2005/2008,提供了许多C#和Vb.NET,Asp.NET的事例 提供的ActiveX/COM版可用于VB、Visual C++、HTML 提供的JAVA版可用于UNIX/Linux,Java 5.0/6.0和1.3、1.4下 Java ME版可用于CLDC和MIDP 支持任何32位和64位CPU .NET和ActiveX Barcode Xpress SDKs包含:ImagXpress Standard v10 、ThumbnailXpress v3 、TwainPRO v6 使用ImagXpress Standard控件可以对条码图像进行预处理,使其更清晰,条码更容易被识别 各版本条码读取速度区别: Barcode Xpress Standard Edition:1D条码读写,每秒4个条码 Barcode Xpress

How can a web page read from the user's serial port - in the year 2017?

家住魔仙堡 提交于 2019-11-28 15:55:32
I have to re-implement an existing system from scratch. At one point, when the user navigates to a certain web page the server must read data from the user's serial port. Currently, the web page has an ActiveX control; when the page is loaded the ActiveX control calls into a COM DLL on the user's PC which reads data from the serial port. The system is 10 years old. Is there any "better" way that I could implement this? For instance, technology has move on in the last ten years. And this solution seems only to work in MS IE, which now has a market share of about 26% (it had, in 2013, when I

How can I sign an ActiveX control with a code signing certificate and be a verified publisher?

纵饮孤独 提交于 2019-11-28 13:03:47
I'm trying to sign an ActiveX control with a code signing certificate issued by Thawte. I was able to successfully sign the control using signtool.exe. When I look at the file properties, it says "The certificate in the signature cannot be verified." When I view the certificate it says "Windows does not have enough information to verify the certificate." On the certification path tab, it says "The issuer of this certificate cannot be found." In internet explorer, the certificate is recognized as signed but the user receives warnings that the publisher is not verified. I've tried creating a

How to Embed Microsoft office in Win form?

▼魔方 西西 提交于 2019-11-28 12:28:27
问题 I am in trouble to host the MS Office in Win form. After doing google i have come across that microsoft has removed dsoframer.ocx. So can anyone please help me how should i host MS office in a winform? I have found some third party tools like Edraw. But i want to do it by own without using any third party tools? Any help would be appreciated. 回答1: What you are looking for is called OLE, Object Linking and Embedding. Originally released in 1990, Microsoft Office was the last main Microsoft

Delphi convert doc to pdf using Word ActiveX

杀马特。学长 韩版系。学妹 提交于 2019-11-28 12:26:06
Did anyone already wrote code for converting doc or docx to pdf using Word 2007 or Word 2010 pdf export capabilities? I do it with the following .vbs script. If you need it in Delphi code then it would be easy enough to convert: Const wdDoNotSaveChanges = 0 Const wdRevisionsViewFinal = 0 Const wdFormatPDF = 17 Dim arguments Set arguments = WScript.Arguments Function DOC2PDF(sDocFile) Dim fso ' As FileSystemObject Dim wdo ' As Word.Application Dim wdoc ' As Word.Document Dim wdocs ' As Word.Documents Set fso = CreateObject("Scripting.FileSystemObject") sDocFile = fso.GetAbsolutePathName