activex

Is there a way to run ActiveX components in Firefox through the use of a plugin?

社会主义新天地 提交于 2019-12-03 15:26:23
I have an ActiveX plugin that we need (if possible) to run in Firefox. Is there a plugin (or other way) for Firefox that will allow this? I seem to have found a solution: http://code.google.com/p/ff-activex-host/ "This Firefox plugin makes it possible to use ActiveX controls in Firefox. It is based on the Gecko NPAPI and provides full access to the hosted control (events, functions, properties)." You used to be able to in Firefox 1.5 but not any longer I believe, the plugin doesnt seem to be supported anymore. More info here Not sure if this is helpful or not, but writing an NPAPI plugin for

Developing ActiveX controls

夙愿已清 提交于 2019-12-03 13:07:55
问题 I would like to develop an ActiveX control and as I don't own visual studio I'm wondering whether I can use VisualC++ express edition on it's own, or do I also need the Windows Platform SDK? 回答1: You don't need Visual Studio to write an Active X control. An Active X control is simply a COM object that is registered in a specific way that implements IUnknown and IObjectSafety. You don't need to create a Visual Studio Active X project. You can just create a normal DLL, add the proper manifest

How to identify how many levels of CoInitialize have been called?

旧城冷巷雨未停 提交于 2019-12-03 13:02:06
问题 I'm doing some debugging on a messy project I picked up where the previous developer didn't know what they were doing, and the main issue is failed attempts to multi-thread the application. I'm now cleaning up the mess and trying to figure out where things are going wrong. One of the issues is inconsistent calls to CoInitialize in order to use ADO components. Continued from my previous question, how can I identify how many levels of CoInitialize have been called? For example, take this code

How can I browse the classes and methods of an ActiveX DLL?

浪子不回头ぞ 提交于 2019-12-03 12:12:29
问题 Basically, what I want to is be able to explore an ActiveX DLL. I normally fire up VB 6, add the DLL to the "References" of the project, and use Object Explorer. However, in this particular machine I can't install VB / VS. I'm sure there's a tool out there that does this. Does anyone know of one? Thanks 回答1: Is it possible to download the component from that machine and examine it locally in Visual Studio? (That'd be my first suggestion.) (And BTW, the .NET versions of Visual Studio also

How can one detect copying a link in a browser?

荒凉一梦 提交于 2019-12-03 11:42:57
Yesterday I had a chat with a taxi driver and upon mentioning that I am a programmer, he told me that a couple of days earlier he had experienced the following: upon trying to copy the URL from the address bar of his browser, a messagebox appeared with a message like "Please don't copy this link, rather register" . I am not a web developer, so this might be a lame question :-) but I wonder how such a thing is accomplished? What technology or language gives one this level of control over the events within the browser? The site was some sort of a movie downloading service, as far as I understood

What is the difference between AxInterop and Interop?

删除回忆录丶 提交于 2019-12-03 11:00:33
I've added an .ocx to the toolbox in VS. Two .dll's were created: Interop.NNN.dll, AxInterop.NNN.dll. What is each one? Are they both required? The AxFoo.dll assembly contains an automatically generated class that's derived from the System.Windows.Forms.AxHost control. It is pretty simple, it has methods, properties and events, the same ones you have available in the .ocx, that simply call the Foo.dll interop library. So, yes, you definitely need to deploy both assemblies. Interop.xxx.dll and AxInterop.xxx.dll are runtime callable wrappers (RCW) for a referenced COM and an ActiveX dll

Get a screenshot from an ASP.Net page

左心房为你撑大大i 提交于 2019-12-03 08:18:53
I have an ASP.Net page that has a button that when clicked I would like to take a screenshot of the user's PC and send it to a server. I'm ok with writing some sort of listener program to run on the server to accept requests to receive these images. Where I'm a bit hazy is the best way to get the user's PC to send the screenshot. Would this need to be done by writing some sort of Active X control for the ASP.Net page? It needs to be cross browser and operating system if possible. Just a point in the right direction and what technologies I should use would be great. I would rather write this

scriptable objects in internet explorer content plugin

大城市里の小女人 提交于 2019-12-03 03:39:33
While there are many guides for Browser Helper Objects, i have a hard time finding resources on how to implement scriptable objects (i.e. besides the main control) for content plugins (i.e. embedded in website). To avoid misunderstandings: the question is about scriptable objects that a plugin object may return to the scripts in a website, e.g. from a method call. While i guess scriptability in general for these probably works via the usual IDispatch , i don't see how events are to be handled (i.e. for attachEvent ). Are you supposed to implement that manually (e.g. handle calls to attachEvent

COM / OLE / ActiveX / IDispatch confusion

时光怂恿深爱的人放手 提交于 2019-12-03 03:23:50
I can't wrap my head around the differences among these terms. Are COM and ActiveX synonyms? Is ActiveX object just a COM object that exposes IDispatch? Lots of older MSDN pages mention IDispatch without any COM context. Does it have a separate history, and was just introduced under the COM 'umbrella' later in its lifecycle? Where does OLE fit in? Is its (considerable) presence in MFC naming and MSDN in general - all just legacy? Wikipedia gives some insight, but not much. I couldn't find a more in depth reference. Ofek Shilon Found some quotes from COM Programming by Example : Another thing

Developing ActiveX controls

青春壹個敷衍的年華 提交于 2019-12-03 03:20:05
I would like to develop an ActiveX control and as I don't own visual studio I'm wondering whether I can use VisualC++ express edition on it's own, or do I also need the Windows Platform SDK? You don't need Visual Studio to write an Active X control. An Active X control is simply a COM object that is registered in a specific way that implements IUnknown and IObjectSafety. You don't need to create a Visual Studio Active X project. You can just create a normal DLL, add the proper manifest and cab it using the CAB SDK tools. You don't have to use ATL to write an Active X control. In fact, you're