ocx

c++ ActiveX基础1:使用VS2010创建MFC ActiveX工程项目

只愿长相守 提交于 2019-11-27 16:22:52
1.ActiveX的基本概念 ActiveX控件可以看作是一个极小的服务器应用程序,它不能独立运行,必须嵌入到某个容器程序中,与该容器一起运行。这个容器包括WEB网页,应用程序窗体等。。。 ActiveX控件的后缀名是OCX或者DLL。一般是以OCX和动态库共存的形式打包成cab或者exe的文件放在服务器上,客户端下载后运行安装cab或exe解压成OCX和动态库共存的文件,然后注册ocx文件。 ActiveX控件是基于com标准,使得软件部件在网络环境中进行交互的技术集。它与具体的编程语言无关。作为针对Internet应用开发的技术,ActiveX被广泛应用于WEB服务器以及客户端的各个方面。同时,ActiveX技术也被用于方便地创建普通的桌面应用程序,此外ActiveX一般具有界面。 2.三个概念:ActiveX、OLE和COM 从时间的角度讲,OLE是最早出现的,然后是COM和 ActiveX;从体系结构角度讲,OLE和ActiveX是建立在COM之上的,所以COM是基础;单从名称角度讲,OLE、ActiveX是两个商标名称,而COM则是一个纯技术名词,这也是大家更多的听说ActiveX和OLE的原因。COM是应OLE的需求而诞生的,所以虽然COM是OLE的基础,但OLE的产生却在COM之前。COM的基本出发点是,让某个软件通过一个通用的机构为另一个软件提供服务

Need PDF viewer control - tried a lot [closed]

≯℡__Kan透↙ 提交于 2019-11-27 13:09:29
问题 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 5 years ago . 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

Object Library Not Registered When Adding Windows Common Controls 6.0

让人想犯罪 __ 提交于 2019-11-27 06:54:26
I am trying to install Visual Studio 6 on a Windows 7 32bit machine. The OS intall was from bare metal. I followed the instructions mentioned here (which I have used before) The install went fine with no errors reported but when I try to add the Microsoft Windows Common Controls 6.0 to the toolbox I get the "Object Library Not Registered" Error. I tried doing a manual uninstall and reinstall of the OCX which both succeeded but I still have the same error. I tried installing SP6 and that installed without error (and updated the OCX to a newer version) but I still have the same problem. EDIT: As

How to use AutoItX in .NET (C#) without registering

↘锁芯ラ 提交于 2019-11-27 05:19:48
问题 How do I use AutoitX (OCX/ActiveX library) in a .NET C# application without registering it? I would like to create an application with it without need to use administrator rights for installation. I found some pages on MSDN like, Registration-Free Activation of COM Components: A Walkthrough about creating manifest files for DLL files. I tried it and did not succeed. So maybe it is possible and I created it wrongly. Unfortunately I lost the XML files so I can't post it here. I also tried

Using a DLL With PHP for Dummies

前提是你 提交于 2019-11-27 01:09:26
问题 I have a project that needs to access a DLL with PHP. The server is a Windows machine and the Apache server is provided by XAMPP. I read multiple answers on the web like Use DLL in PHP? php communication with dll? calling dll through php http://ca.php.net/manual/en/class.com.php http://ca2.php.net/manual/en/book.w32api.php http://www.talkphp.com/absolute-beginners/3340-php-how-load-com-dll-file.html Here is how I call the DLL in HTA / Javascript : <object style="display:none" id="SOME_ID"

前台JS脚本出现“Automation服务器不能创建对象“错误的解决方法

五迷三道 提交于 2019-11-26 17:58:06
1、如果是Scripting.FileSystemObject (FSO 文本文件读写)被关闭了,开启FSO功能即可,在“运行”中执行regsvr32 scrrun.dll即可 2、安全模式设置成“中”,如果javascript脚本中报这个错误,还应将IE的安全设置“不允许运行未标记为安全的activeX控件”启用即可。 注意如果您将相应的网站设成“受信任的站点”,必须对“受信任的站点”进行相应的IE安全设置,此时如果对“Internet”IE设置将是徒劳的。 3、有些脚本需要微软的 MSXML 控件才能进入。当使用 IE 5 以上版本的缺省安全模式时,会提示是否接受 MSXML 控件,如果接受,MSXML 将自动安装到您的机器上(得等上几分钟)。如果自动安装不成功,可以自行下载和安装 MSXML 3.0 SP7。有时是由于msxml 3服务被关掉了,使用 regsvr32 msxml3.dll即可 4、用上面方法基本上能决问题。如果是在安装某个软件后出现这种问题,可尝度卸载该软件或重装一下! 如果还是不行,试试以下方法: 5、请将以下语句复制到记事本中,另存为后缀为.cmd的文件,并运行。当然在命令行下一句句运行也没问题。 echo 正在修复,这个过程可能需要几分钟,请稍候…… rundll32.exe advpack.dll /DelNodeRunDLL32

Object Library Not Registered When Adding Windows Common Controls 6.0

点点圈 提交于 2019-11-26 12:58:09
问题 I am trying to install Visual Studio 6 on a Windows 7 32bit machine. The OS intall was from bare metal. I followed the instructions mentioned here (which I have used before) The install went fine with no errors reported but when I try to add the Microsoft Windows Common Controls 6.0 to the toolbox I get the \"Object Library Not Registered\" Error. I tried doing a manual uninstall and reinstall of the OCX which both succeeded but I still have the same error. I tried installing SP6 and that