activex

ActiveX component cannot be created for COM component in release mode (VS2010 specific)

蓝咒 提交于 2019-12-25 06:31:30
问题 I have an ATL COM component(.exe) (VC++ ) in VS2008. Through VB6 client, i use CreateObject and get the object. But once the component is updated to VS2010 SP1, the VB6 client no longer is able to create the COM object. If I compile the VS2010 COM component in debug mode and get the .exe, VB6 client is working fine. In release mode, .exe is generated without any errors, and VB6 client fails saying ActiveX component cannot be created. Please help me in resloving this. 回答1: Finding out why COM

ActiveX control in IE intranet zone - blocked without a prompt?

旧巷老猫 提交于 2019-12-25 06:24:01
问题 I'm writing an intranet page for my company that requires the use of an embedded dll (COM). The dll is registered on all clients computers so it doesn't need to be downloaded from the page, it just needs to run. I've tried using the following code to embed the control: var newObj = new ActiveXObject("servername.classname"); And this works when testing locally, but from the intranet the object fails to instantiate with the js error "automation server can't create object". I suspect this is

How is an ActiveX wrapper created with FireBreath?

不羁岁月 提交于 2019-12-25 05:22:32
问题 I've been through the Windows and Mac video tutorials on the FireBreath (FB) website, through all the documentation and even seen the ActiveX example that a person has provided. It's been an entire week, but I still can't understand how to create a new project in FB. The only thing explained on the website is how to get the FB sln compiled, where the PluginTest example is already coded. Even for the ActiveX example, only the code is given. It isn't explained as to how they created the project

Classic ASP error '800a01ad' ActiveX component can't create object

a 夏天 提交于 2019-12-25 02:59:41
问题 we have a system that wasnt designed by us, and part of that system is a classic ASP portal. The portal is currently running with no issues on one of out servers. We want to do some development work on the portal, so we want to put it on TFS, and than work on it locally. The problem no matter what I tried we cant make it run locally. this is what we tried: import the IIS setting from the working server register whatever dll we can think of Pool is running with system network credentials pool

how to use ActiveX in PHP?

可紊 提交于 2019-12-25 02:28:15
问题 What i should do to use ActiveX on php ? I have a few dll, that implements connection to db. But i don't know, how to use them on php. I understand, that i can't write smt like require('mylib.dll'), but what should i do? So, the first question is: how to "include" dll in php code? And the second is: How use ActiveX objects in code? i'll expect smt like this: $obj = new ActiveXObject("MyActiveX.MyConnection"); 回答1: I guess it is possible using the COM Functions. I don't know if it works for

Getting C# ActiveX/COM Library to Work through JScript

放肆的年华 提交于 2019-12-25 02:24:42
问题 I have checked on stackoverflow (and what seems like everywhere else). I would like to get a COM solution working so that a jscript file can be written as var T = new ActiveXObject("MySimulator.World"); T.MyMethod(); It would be executed at the command prompt by cscript mytest.js In this case, I get the error "Automation server can't create object". In C#, I have followed various suggestions, with the latest interface being: [ComVisible(true)] [InterfaceType(ComInterfaceType.InterfaceIsDual),

Excel Active-X button cannot be clicked

不打扰是莪最后的温柔 提交于 2019-12-24 23:57:11
问题 I have a button that should be clickable in excel. When I try to click it, nothing happens. I have noticed that if I click and hold the mouse in the lower right hand corner, a second button appears. This has happened in the past, and when I moved the mouse to click that button, I could click and everything would work. But this time, when I move the mouse, the button goes away. Thus, I cannot make the program work. Anyone know what could be going on? UPDATE: I tried to do this with a form

MSWord - ActiveX Fails to Invoke Objects

一曲冷凌霜 提交于 2019-12-24 23:20:26
问题 After a year using the MS Word 2013 VBA through ActiveX server calls under MS Win 8 Pro x64 , the following call ends in error: ActiveDocument.FormFields Yesterday I made a Windows Update including a Security Update for MSOffice 2013 64-bit . Today I uninstalled the update, and the problem now persists. 1. Matlab 2014b X=actxserver('Word.Application'); XD=X.Documents.Open('file.docx'); XD.FormFields No appropriate method, property, or field FormField for class Interface.Microsoft_Word_15.0

C#制作ActiveX浏览器插件.net

霸气de小男生 提交于 2019-12-24 22:43:35
开发环境:VS2008 第一步 创建项目 新建一个项目,选择“Windows窗体控件库”,创建一个用户控件项目“ActiveXDemo”(注意,这里起名不能用中文,否则后面会出问题),里面有个用户控件类UserControl1.cs 在类中写上你自己需要的业务逻辑代码,保存 第二步 设置项目属性 在AssemblyInfo.cs里添加[assembly: AllowPartiallyTrustedCallers()],需要引用using System.Security;命名空间 设置项目属性,右键项目——属性 选择“应用程序”,点开“程序集信息” 勾选“使程序集COM可见”,点“确定” 然后选择“生成”,滚动拉倒底部,勾选“为COM互操作注册” 然后保存,重新编译项目,至此,此时的“ActiveXDemo.dll”就成了一个ActiveX控件 第三步 安装外部工具 安装外部工具“OLE/COM对象查看器”和“创建GUID”(已有这两款工具的可以忽略此步骤) 1.OLE/COM对象查看器 这款工具是用来查看ActiveX控件的,也就是验证你的项目有没有成为一个ActiveX控件 安装方法:点开VS顶部菜单栏“工具”——“外部工具” 然后,添加一个“OLE/COM对象查看器”,对应的命令程序一般放在C:\Program Files\Microsoft SDKs\Windows\v6

how do you enumerate WIN32OLE available servers?

删除回忆录丶 提交于 2019-12-24 22:16:11
问题 Wasn't able to find an easy answer to this one... Anyway I've seen some WIN32OLE code like this: WIN32OLE.new("MSVidCtl.MSVidWebDVD.1") Which works. My question is, how is it possible (in any programming language) to have figured that string out? Like enumerating all the available servers or what not? My google fu failed me here. Thanks. -r More resources (some of which answer my question, I believe--not sure why I didn't see these before) How to list all ActiveX controls? axhelper looks nice