activex

What is error code 0x800A01A8 coming out of Excel ActiveX call?

十年热恋 提交于 2019-11-28 01:32:46
I am using LabVIEW to talk to Excel via its ActiveX interface. For some reason after some time successfully writing to a spreadsheet I got this error when attempting to call the a function which does something with the range. Sorry this question is so vague, but its because I am actually using another toolkit to take care of the Excel writing. Anybody know if there is a lookup table for Excel ActiveX calls anywhere? Thanks This error code means "Object Required." It sounds like your toolkit might have a memory leak, or it is disposing of an object prematurely. It's possible that the range

Extending an ActiveXObject in javascript

谁说我不能喝 提交于 2019-11-27 23:08:04
I want to add some functionality track certain calls to ActiveX object methods in javascript. I usually create my activeX object like this: var tconn = new ActiveXObject("Tconnector"); I need to log every time the open method is called on tconn and all other instances of that activeX control. I cant modify tconn's prototype because it does not have one! I think that i can create a dummy ActiveXObject function that creates a proxy object to proxy calls to the real one. Can you help me do that? Note: writing a direct wrapper is out of question, because there are already 1000s of calls to this

Error: ActiveX Component Can't Create Object Scripting.FileSystemObject

丶灬走出姿态 提交于 2019-11-27 23:07:55
I have a simple vbs-file on my drive c: with following content: Set objShell = CreateObject("Scripting.FileSystemObject") When I'm trying to launch it, I get error c:\fso.vbs(1, 1) Microsoft VBScript runtime error: ActiveX component can't create object: 'Scripting.FileSystemObject' I tried to login as admin and execute wscript -regserver , but didn't help. Can someone help me please? byte Assuming you are logged in as Admin, please have a look in registry for Scripting.FileSystemObject under HKCR. If you can not find this PROGID then you are missing the required files or the component is

How do I detect if ActiveX is enabled in the browser of client?

倾然丶 夕夏残阳落幕 提交于 2019-11-27 22:49:08
How do I detect if ActiveX is enabled in the browser of client? I tried following code, but it's not working in Firefox. window.ActiveXObject not working in Firefox any ideas? check the example here: http://jsfiddle.net/qXSvQ/2/ I get false when I run this example. ActiveX objects do not exist in anything but Internet Explorer. If you're trying to use them for XMLHTTPRequests, use the XMLHTTPRequest() object instead, using feature detection. if ("ActiveXObject" in window) { /* Do ActiveX Stuff */ } else { /* ActiveX doesnt exist, use something else */ } What isn't working? Is that throwing an

C# UDP Socket client and server

柔情痞子 提交于 2019-11-27 18:53:16
My first question here. I am new to this kind of programming, and i've only programmed .NET web sites and forms. Now, the company I work at, asks me to make an ActiveX component, that listens to UDP messages, and turns them into events. The UDP msgs are send from Avaya system, so i was told that to test my ActiveX, at first I need to create an app, that only sends UDP (only one button that sends pre-defined UDP string). And then create listener socket, ordinary C# app, that will get those transmitted UDP string from the tests app. Both apps will work on the same machine. Later, when i get this

Disable Internet Explorer shortcut keys

三世轮回 提交于 2019-11-27 18:24:10
问题 EDIT: After waited a while and didn't get anything yet, I've decided to do shortcut disable thingy only for IE now. Is there a possibility to disable IE shortcut keys to access menus/print etc. via vbscript? Is it possible to disable browser shortkeys? Because many of them are using in application. For instance, Ctrl + p is using and I don't want browser to popup the print window. 回答1: Yes, you can listen for the various key combinations with javascript and disable the default behaviors.

C# COM DLL: do I use Regasm, or Regsvr32?

佐手、 提交于 2019-11-27 18:11:24
I am building a C# ActiveX DLL... do I use REGASM or REGSVR32 to register it? How do I register the 64-bit interface vs the 32-bit interface? You need to use regasm.exe to register both the 32 bit and 64 bit interfaces I believe you need to run each of the regasm.exe 's in: C:\Windows\Microsoft.NET\Framework\v2.0.50727 and C:\Windows\Microsoft.NET\Framework64\v2.0.50727 So... in your case you need to run the regasm.exe in the Framework64\v2.0.50727 folder. Here's an example we use to register a COM interop DLL for one of our legacy ASP apps: regasm.exe Hosting.DeviceManager.Power.dll /register

How do I script an OLE component using Python?

主宰稳场 提交于 2019-11-27 18:11:01
问题 I would like to use Python to script an application that advertises itself as providing an OLE component. How should I get started? I don't yet know what methods I need to call on the COMponents I will be accessing. Should I use win32com to load those components, and then start pressing 'tab' in IPython? 回答1: You can find an example on this website. OLE and is related to COM and ActiveX so you should look out for those terms. Do you have access this book from O'Reilly - Python Programming on

ActiveX component can't create object

淺唱寂寞╮ 提交于 2019-11-27 17:50:58
I have just installed a third party app on my Windows Server 2008 server and I get the ActiveX Component can't create object message when I try to access using a CreateObject in VBScript. It is definitely installed and exists under "Programs and Features". Does anyone have a list of things that I can check to figure out what is going on? I have now tried to register the DLL using regsvr32.exe /i bob.dll as suggested but I get this error: The Module "Bob.dll" was loaded but the entry-point DllRegisterServer was not found. Make sure that "Bob.dll" is valid DLL or OCX file and then try again. I