activex

What is the difference between a .NET Applet and ActiveX control embedded in IE

I have come across some articles on the web about .Net applets and I was wondering how it differed from an activex control (created using a .Net language)? (to clarify, this is with regards to applets that run inside a web-browser) (Is the difference: ActiveX controls written in a .Net language are called .Net Applets?) Are there any a...

Are ActiveX applets dead?

Are ActiveX applets as a technology supported by Microsoft dead? What are the alternatives to ActiveX to create extremely rich internet applications using Microsoft Technologies? (Silverlight does not cut it for me, as it doesnt give me access to serial ports - or does it?) ...

COM / OLE / ActiveX / IDispatch confusion

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? Wher...

How to convert an ActiveX (webbrower hosted) project into static library project?

I have an ActiveX component which contains a control (webbrowser control embedded in composite control dialog pane) for accessing certain URL. The ActiveX component accessing URL can be used in other MFC or VB projects. The usage is to register the ActiveX component (use regsvr32 cmd) and then insert the control in a dialog window by usi...

Is there a 64-bit version of Microsoft Common Controls (MSCOMCTL.OCX)?

Did Microsoft port MSCOMCTL.OCX to 64-bit? I don't have it installed and I can't find it for download or find anything saying that it doesn't exist. Thanks, Phil ...

voice record (winmm.dll) using C#.net

My requirement was to build an utility which could record voice (through mic) and save on disk .wav files as desktop and web app. for specific users so i chose activeX technology as i didn't find any other better way (may be you know and can guide me.. would be more than welcome) I used winmm.dll (aka Media control interface (MCI)) and ...

keybd_event() not working in ACTIVEX module with IE PROTECTED MODE

keybd_event() is not working in ACTIVEX module with PROTECTED MODE - I am using activex that simulates keypress but it simply does nothing with new IE8. keybd_event(VK_SPACE, MapVirtualKey(VK_SPACE, 0), 0, 0); keybd_event(VK_SPACE, MapVirtualKey(VK_SPACE, 0), KEYEVENTF_KEYUP, 0); is there a trick to get around this issue? ...

Activex create problem in vista/ie7-ie8

I have a problem with my ActiveX control. I don't know how solve it. I am controlling in client whether my ActiveX control is installed below: try { p = new ActiveXObject('MeshControl.ActiveX'); Te=p.Revision; if(MaV>p.MajorVersion || p.MajorVersion.toString()=='undefined') UpdateControl('1'); else if (MiV>p.MinorVersi...

ActiveX freezes IE

Hello, I created an activeX control to perform some actions, which take about 1 minute. During this action IE freezes completely. Is there a way to call the activeX control so that IE does not freeze? Thank you ...

How do I search an ActiveX/COM object for a method?

I have an ActiveX/COM DLL. It contains many methods and properties. I would like to be able to ask it if it has a particular symbol, as per the following snippet: If HasMethod( "StdLib.DLL", "ReadFileE" ) Then ... End If Is there a way to do this from, say, VBScript or JScript? If not, where do I go to get the information I need? ...

How do I call a method in a custom ActiveX dll using java/vb script

I have created an ActiveX dll using VB6 and packaged it using the Package & Deployment Wizard which has resulted in a cab file and a demo HTML page. This ActiveX dll contains a simgle method that returns a string and accepts no arguments. The trouble I'm having is that when I call the method I always get a "Object does not support thi...

Accessing an activeX control via VBScript on a SharePoint page

I am using an activeX control for the PDF-XChange Viewer software. Their support team gave me the following code sample: <html> <head> <title>PDF-XChange Viewer ActiveX test...</title> <script language="VBScript"> Sub btnGetProperty_OnClick() PXCV.OpenDocument "/sandpit/appsheet/faxcentre2/Faxes/1234-56789-abc-123-3.pdf", 0...

Why would I get a GPF in DLLMain when run as a restricted user?

Why is this code crashing when run as a restricted user, but not when run as an admin of the machine? extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) { hInstance; m_hInstance=hInstance; return _AtlModule.DllMain(dwReason, lpReserved...

Drawing on ActiveX control

I've created an ActiveX control using Microsoft Visual C++ and I know I can use the CDC object provided on the onDraw method to draw on it, but these are raster graphics which don't look good. Is there a vector drawing api which I could use? ...

Drawing graphics with Visual C++

Hi, I need to draw a scatter plot into an activex control I'm building using Visual C++. I have looked at ZedGraph but, at first glance, I can't use it as I don't have a frame. I believe the drawing must be done using the c++ drawing contexts. Is there any Visual C++ API which is able to direct its output to a drawing context object? ...

How to Install a COM using ClickOnce

I have installed my windows application that uses TeeChart ActiveX (a COM Component for charting) using ClickOnce. If I register manually TeeChart using regsvr32 teechart8.ocx, my application works fine. But I want and I need to install the application using ClickOnce. How can I do that? ...

How to capture events fired from new Popup IE window

Hi, Greetings! Situation: My ActiveX DLL contains a customized webbrowser. The webbrowser displays a web page. When user clicks the link within the displayed page, a new IE window pop up and navigate to the clicked link URL. Question: How can I capture the DocumenComplete and NavigateComplete events fired from the NEW pop up IE win...

Cross-compile/Recompile an ActiveX for mobile devices

Hi, In our project, we have a lot of ActiveX controls written in VB6. On big (x86) computers it works very well. These controls are hosted on website. And mobile users also wants to use it. So is there any possible solution to recompile/cross-compile an .ocx and make .cab file to works under ARM architecture? Or maybe I can emulate x86 a...

How to read <object> <PARAM> properties in ActiveX web control with VC++/MFC

Hi, I have ActiveX control done in VC++/MFC. It embeds into html web page. Now I need to be able to configure it by providing parameters in html tag. like: The question is how do I read those parameters during my ActiveX initialization? My research revealed that it has to be done through IPersistPropertyBag interface, but I cou...

An activex control on this page might be unsafe

Hello, I created a com component in C#, which I registered by using Regasm. I am able now to use this in IE by using ActiveXObject(...). However this only works when I change my IE security settings and allow to run unsigned activex controls, in which case I get the message: An ActiveX control on this page might be unsafe to interac...