activex

“Object Library invalid or contains references…” in Excel VBA with DatePicker

和自甴很熟 提交于 2019-12-29 06:32:23
问题 I have been working on a Excel workbook with lots of VBA code for a while and now I have send this file to some colleagues for testing and it does NOT work in their computer. We all work in the same company and have Windows XP SP2 with Office 2003. The workbook has a form that opens when clicking over a shape and it contains some controls. When they click over the shape for the form to show the following error appears: "Object Library invalid or contains references to object defintions that

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

吃可爱长大的小学妹 提交于 2019-12-29 01:27:11
问题 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

ADODBCould not load type 'ADODB.FieldsToInternalFieldsMarshaler' from assembly

烂漫一生 提交于 2019-12-28 12: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

How to use IDispatch in plain C to call a COM object

左心房为你撑大大i 提交于 2019-12-28 08:40:11
问题 I need to compile some code of mine using the gcc compiler included in the R tools (R the statistical program for windows), the problem is that I need to use IDispatch in my code to create an access the methods of a COM object, and the gcc compiler doesn't support much of the code that I'm using to do so, which is basically C++ code. So my question is how can I use IDispatch in C to create the COM object without having to depend on MFC, .NET, C#, WTL, or ATL. I believe that if I do so I will

How to use IDispatch in plain C to call a COM object

纵饮孤独 提交于 2019-12-28 08:40:09
问题 I need to compile some code of mine using the gcc compiler included in the R tools (R the statistical program for windows), the problem is that I need to use IDispatch in my code to create an access the methods of a COM object, and the gcc compiler doesn't support much of the code that I'm using to do so, which is basically C++ code. So my question is how can I use IDispatch in C to create the COM object without having to depend on MFC, .NET, C#, WTL, or ATL. I believe that if I do so I will

如何在Web页面上直接打开、编辑、创建Office文档

限于喜欢 提交于 2019-12-26 13:25:53
正所谓成也ActiveX,败也ActiveX。微软推出的ActiveX其实是一个很强大的理念,可惜被很多人用到了不该用的地方。 前几天和客户商谈业务的时候,看到他们自己的工作流系统支持Web页面直接创建Office文档编辑文件。想想有点意思可以放入我们自己的系统中,回来找点时间研究了一下搞定。基本上参照下面Kaneboy写的Blog就可以搞定,网上这篇文章也是满天飞,但是很多人都只是Copy了正文,里面有几个应用中的关键点没有考虑到。我先把文章列出来,然后把关键点补充在下面。结合正文和我补充的点就可以正常运作了。 参照如下文章: 在安装Office2003以后,有一个ActiveX控件被安装到了系统中,这个控件位于“Program Files\Microsoft Office\OFFICE11\owssupp.dll”。通过这个控件,客户端页面上的JavaScript就可以激活本地的Office软件,来实现打开、编辑Office文档。(另,Office XP应该就已经包含这个ActiveX控件了。) 首先,用Script创建一个本地的对象: openDocObj = new ActiveXObject("SharePoint.OpenDocuments.2"); // 为了兼容Office XP,可以创建“SharePoint.OpenDocuments.1” 然后

ActiveX C# : acces to method of C# file

社会主义新天地 提交于 2019-12-26 03:32:51
问题 I write a simple Activex (just show alert Hello World) but I can't acces to my method HelloWorld of my C# program when I call ActiveX in a my JavaScript function This is my C# program using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace DemoCSharpActiveX { [ProgId("DemoCSharpActiveX.HelloWorld")] [ClassInterface(ClassInterfaceType.AutoDual)] [Guid("1c61c720-ce70-40e5-9e88-714469911fb3")] [ComVisible(true)] public class

Does Firebreath support plugin updates in Internet Explorer once an instance is created without restarting?

故事扮演 提交于 2019-12-25 16:44:27
问题 Code snippet: navigator.plugins.refresh(false); var a = new ActiveXObject(collab.axName); if (a) { version = parseVersion(a.version); } I run something very similar to the above to check the version of my installed FB plugin. If it is out-of-date, I replace it with a newer version (Firebreath bog-standard Windows installer). However, if I run the snippet again, the newer version is not detected - the new ActiveX object has the old version number. The ActiveX object creation seems to be the

Does Firebreath support plugin updates in Internet Explorer once an instance is created without restarting?

一笑奈何 提交于 2019-12-25 16:43:04
问题 Code snippet: navigator.plugins.refresh(false); var a = new ActiveXObject(collab.axName); if (a) { version = parseVersion(a.version); } I run something very similar to the above to check the version of my installed FB plugin. If it is out-of-date, I replace it with a newer version (Firebreath bog-standard Windows installer). However, if I run the snippet again, the newer version is not detected - the new ActiveX object has the old version number. The ActiveX object creation seems to be the

Excel VBA: Copying Pictures from image controls to activeX objects

試著忘記壹切 提交于 2019-12-25 08:29:16
问题 I have a series of images that I need to display multiple times on both forms (via image controls) and on worksheets (via activeX image controls). I know that I could keep the files externally and use the loadpicture method; but there is something I want to avoid if possible. I also know I could save and load- but again I would rather not use an external file write to perform the task. Ideally, everything will stay embedded and hidden within the file itself. I think there maybe a solution in