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.
Related
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.
I think pbear's component HTML Components, v 9.45, is just what I need. His free download only has packages for Delphi 2006 and earlier. I have Delphi XE. How would I install his components into my Delphi?
Try this Google code download site THtmlViewer.
Seems to be updated to XE2 version plus Lazarus.
See also this answer to SO question How to display an email images on Pbear Html viewer component?.
Have you considered using Delphi Chromium Embedded? This is the Delphi API for Google's Chromium, which is used by the Google Chrome web browser. Several Delphi versions are supported, including XE and XE2.
Unless you only need rudimentary browser support, it makes sense to use an up-to-date browser with solid support for modern web standards.
The repository includes Delphi sample projects for VCL and FireMonkey.
Currently we have an application which allows the user to include/remove the pages, images and text(which is given to the printer, using hooking we are getting the printed document and then processing it).
Now we want to develop the same for Metro UI style application for Windows 8.
So what is the starting point to develop the above said application using XAML and C#?
Should we need to learn HTML5, Javascript to develop Metro UI style application?
If you are familiar with Javascript and HTML, then using Javascript could be what you want. Microsoft claims that Javascript, C++ and C# are just different projections of WinRT APIs. So theoretically, if you can write the app in C#+XMAL, then you should also be able to write it in Javascript+HTML5.
So the question is really which language you are more proficient in or which language do you prefer to use.
Visual Studio 11 Express Beta and Windows 8 Consumer Previews are available for free at this point, so there is no cost for you to start your development.
Here is a bundle of Consumer Preview samples:
http://code.msdn.microsoft.com/windowsapps/Windows-8-Modern-Style-App-Samples
Here is a link for the printing API:
http://msdn.microsoft.com/en-us/library/windows/desktop/hh448418(v=vs.85).aspx
Hope this will get you started on your application.
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
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)