Support for object tags with embedded ActiveX in Mozilla/Safari - activex

I am using an object tag to load ActiveX extension controls like so:
<object name="controlcontainer"
width=320
height=240
codebase="./library.cab#version=1,2">
</object>
This works fine in IE, but we are looking into creating a port of our application for the iPad. Is there any way we can load ActiveX controls on the Mozilla/Safari platform?
Thanks,

ActiveX controls do not and will not ever work on Mac, the iPad, or any other non-microsoft platform. There is currently no method that I know of for creating a browser plugin of any kind on an iPad, though if there were it would be either a WebKit plugin or a NPAPI plugin.
If you want to port your application to work on firefox, chrome, etc and work on Mac, you may want to look at the FireBreath project, but since Apple doesn't allow such software on the iPad you'll need to approach it a different way there.

Related

Create Chromium's WebView and place it on a Form?

Since turns out the current WebBrowser for Android offering not sufficient for my project properties - I need to create a native instance of Chromium WebView and place it on my Delphi's forms, yet I am unable to find anything similar as an example.
How to create a native Chromium's WebView and place it on my Delphi's Forms ?
If you want to do it all by yourself – it’s a lot of work. Better to use free components to do it. You can check https://github.com/salvadordf/CEF4Delphi project. There are a lot of demo and you can choose the best way to solve your task. There is VCL version for Windows and FMX version for multiplatform.

Adobe PDF Reader Plugin in TWEBBROWSER on new PC

according to PDF in TWEbbrowser I tried to run an selfprogrammed Delphi Prg which displays the PDF in a TWEBBROWSER component fine. But on 2 new PCs, where I just installed the Adobe DC PDF Reader I only see a gray window - no PDF anymore. How to fix this? I can see the PDF in IE. I Have Delphi Berlin.
Thanks for help
The reason why PFD isn't correctly shown in TWebBrowser is the fact that by default TWebBrowser is opening web pages in Compatibility mode. This means that the web pages are opened in Interent Explorer 7 mode wihtout any extensions. And in order for you to be able to open PDF in Internet explorer it is done so in Acrobar Reader Web Extension.
In order to make TWebBrowser open web pages in compatibility mode for newest IE version you need to Opt in to the browser emulation feature using the documented registry key
NOTE: You need to opt in to the browser emulation on every computer where your program is used.
Or you could switch to the use of TEdgeBrowser instead as Robson Benedito suggested in his answer.
TWebBrowser component, when in Windows, navigates using the old Internet Explorer (not Microsoft Edge).
To ensure that it works you should open Microsoft Internet explorer and try to open this document in the machine that is showing the problem.
If it doesn't open you should fix it inside IE before open in you Delphi app. If it does, it could be an incompatibility with this Adobe plugin and the engine provided/used by TWebBrowser. In this case you can switch to TEdgeBrowser component that provides you the ability to have you own browser (with Chromnium) even if the Microsoft Edge is not installed (http://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_TEdgeBrowser_Component_and_Changes_to_the_TWebBrowser_Component).
With TEdgeBrowser you can open PDF directly without using plugin (even those installed in Windows).
Using TWebBrowser can also lead you to others problems with others PCs depending on the Internet Explorer (like proxy/javascript/plugins/etc).

Fill Formulardata in Firefox using Delphi

i'm search any solution to fill login-form-data in Firefox from external application. For programming i use Delphi 10.3 Rio.
I must use Firefox. Chrome, Opera or IE are not possible. I dont can use an embedded TxxxBrowser-solution.
I need a way to access the formfield on the active tab in a firefoxinstance. Can anybody help?
Some Password-Safe-Tools can do this. So i think there must be a way in delphi.
Thank for support
Dieter

How to Update Look and Feel of Older Windows User Interface?

I have a really solid computer program that was written for Windows XP. The program still works great and I would like to update the look and feel of the user interface.
At this time, I would like to give the buttons etc. a more sleek, contemporary look. Much better would be to allow functionality of touch and swipe etc. for tablets and such.
Can anyone tell me what tools in Delphi are used to accomplish this? For instance, do I need to change every button and object manually through object inspector or can I update/modify all objects objects within a project using a single set of commands?
You can start by enabling Windows themes, using Project->Options->Appearance from the IDE's main menu. It's on by default since D2007, but won't be on because your app is coming from Delphi 5. (New projects have it turned on by default, but the IDE can't know if you want it enabled or not when importing older projects.)
You can then start looking at adding gesture support by looking into the documentation for TGestureManager and TGesture. There's a TGestureManager for both VCL and FireMonkey (FMX) applications.
Note that for cross-platform support (Android, iOS, and OS X) you'll need to port your application from the VCL to FMX.

What is ActiveX container?

I never really got the chance to do anything with Microsoft ActiveX in all of my programming career. So, I have very little knowledge of what it is or what it is used for. Although I've searched on the Internet for answer, I found many different definition for ActiveX or ActiveX Container. One of my customer is asking for ActiveX Container for my software which I don't have. He wants view or take control of my software remotely through this ActiveX Container. Is this possible? Also, is ActiveX still around? I am trying to see if I can put this ActiveX container real quick for him to use.
I am assuming that ActiveX is used to expose some part of your software to the Internet or the Intranet. So, that the user can get access to your application remotely.
Any response will be greatly appreciated.
Thanks,
An Activex container is a frame where An ActiveX control can run, These containers can be embedded in a Desktop app or a Web page.
Due which the ActiveX control contains native code you must setup the security settings of your browser in order to run this kind of objects. The only browser where the ActiveX is fully supported is IE (exist some experimental projects to support Activex in Firefox and chrome) Also these containers only can run under Windows.
The fastest way to convert your existing app into a ActiveX Control , is using a TActiveForm (below you have a link with a sample).
For more information try these links
Introduction to ActiveX Control Containers
Wrapping a Delphi TFrame descendant as an ActiveX control

Resources