what ActiveX control implementing a web browser? - activex

I am coding an add-on using an existing SDK which has no webview-like component but allows for ActiveX controls.
So the only idea I come up with is find an ActiveX control implementing a web browser or at least show a web browser.
Is there such control?

Don't use the IE activex control, it's full of memory leaks.
See this post for alternatives:
Replacing .NET WebBrowser control with a better browser, like Chrome?

FireBreath has a WebView library that uses the IE activex control to embed a web browser inside a FireBreath plugin (which acts as an ActiveX Control on IE). You should be able to adapt it, assuming you're using C++.

Finally find it.
SHDocVw.WebBrowser will do.
Usually the path is C:\Windows\System32\shdocvw.dll

Related

Using ActiveX component in Blazor

Does someone has experiences in hosting an ActiveX-Component or System.Windows.Forms.Integration.WindowsFormsHost in Blazor?
I can not find anything about it.
ActiveX is legacy (i.e. dead) technology these days. Only Internet Explorer (IE) will support ActiveX, but you cannot use Blazor client-side (WASM) as IE does not have WebAssembly support.
I assume you've got some legacy app that you need to support ActiveX for. Blazor has no ActiveX support for this. You should investigate interfacing the ActiveX control to JavaScript, and then switch to Server-Side Blazor as that does support IE, and use JavaScript interop with Blazor to interface to ActiveX.

How to enable WebGL support in Delphi 10.1 webbrowser component?

We need to play a 3D viewer in our delphi 10.1 application. For this we are using Delphi TWebBrowser component to emulate browser. But TWebBrowser in Delphi does not support WebGL. Is there any way to overcome this issue?
Instead of TWebBrowser component which encapsulates Internet Explorer, you could use Chromium Embedded Framework (CEF).
But then you have to ship your app with additional DLLs, just to keep that in mind.
See here vor V3 or here for V4.

Registration of different versions of same ActiveX

I´m struggling with what is the best design for an ActiveX control in regards to its registration and reference.
One part of our software is based on ActiveX controls that are used on Internet Explorer and referenced by its GUID, and ActiveX control will make the connection to the server and will get the data (Live Images) from it.
The problem that I´m facing is that everytime that we update the server version we have to change the version of the ActiveX controls because there are usually new codes for client, so, the ActiveX of version 6.3 for example will not connect to a 6.4 server and must be updated
The thing is that, what is the best design to have different versions of the same ActiveX registered on the machine? Should I change the GUID of the ActiveX every new version???
I have searched a lot for this and couldn´t find anything satisfactory, and I can´t use the Registration-free COM because the ActiveX control is meant to be used inside Internet Explorer

How can I get flash working with Chromium?

I have installed Chromium for Delphi, but there does not appear to be out of the box flash support for it, as mentioned in this post:
How to display the latest news from a web news feed in delphi firemonkey application?
How can one enable flash for Chromium?
kind of old, for dcef1 you should google for gcswf32.dll. it's old chrome flash player plugin.
for dcef3 i think you need to have instaled flash on the system, no way to embedd dll but I might be wrong.

Running an ActiveX DLL in firefox

Hello Guys:
I have written an activeX dll in Delphi and I want to run in in firefox. How can I do that?
Is there anyway that I can make an .xpt directly form this dll or not?
I'm afraid there is no way to just make an .xpi directly from the DLL. An ActiveX control needs an ActiveX host which Firefox is not, by default. It seems it can be, however, with an installed plugin.
A quick Google search for "firefox activex" reveals:
ff-activex-host
Neptune
Mozilla ActiveX Project (seems abandoned but there's reference and source code for Firefox 1.x)

Resources