Forum Discussion
Problem embeding report in TWebBrowser (IE9)
- 8 years ago
Thank you for you reply.
I have tried to change the registry key but it does not work.
It is an incompatibility between powerBi javascript code and TWebbrowser.
The only way we have found to solve this problem is to change the TWebBrowser component by a TChromium component available here : https://github.com/salvadordf/CEF4Delphi
More info : We got this javascript error on loading this URL : https://app.powerbi.com/reportEmbed?reportId=5cacc672-0a61-4972-92bf-5373ac9386d8
https://app.powerbi.com/13.0.3154.215/scripts/powerbiportal.dependencies.externals.bundle.min.js
Line 937, Caracter 8729, Unspecified Error, Code 0
Then severals javascript errors occur.
Please some help?
- blumi788 years agoHelper I
Does it have to be IE9? This is just the default-mode for maximum compatibility with legacy apps (if I remember correctly, it should be even IE7).
You can easily switch to "cutting edge" by adding a registry key for your binary: MSDN
Bastian
PS: glad to see a Delphi developer these days. I've been one myself for many years.
- Haderach8 years agoFrequent Visitor
Thank you for you reply.
I have tried to change the registry key but it does not work.
It is an incompatibility between powerBi javascript code and TWebbrowser.
The only way we have found to solve this problem is to change the TWebBrowser component by a TChromium component available here : https://github.com/salvadordf/CEF4Delphi
- yashar8 years agoNew Member
Hi there!
I am a long time Delphi user and I am about to integrate PowerBI with Delphi
I would like to exchange ideas or even code with you.
Do you mind on contact me? [email protected]
Thank you!