Link to home
Start Free TrialLog in
Avatar of Yair Abraham
Yair Abraham

asked on

slow behavior when open IE with twebbrowse

very slow behavior when open IE with twebbrowser (borland) - i have a page that open in a c++ program on the cloud - but the all  behavior is slow and evan the images and progress-bar  are stack and not moving- i have image that spin - but trow this way it not spin
Avatar of Sinisa Vuk
Sinisa Vuk
Flag of Croatia image

Hi!
Some questions first:
- do you have same 'slowness' with other pages - not related to yours (in cloud)?
- did you try other web browsers with your page (chrome, opera,...)
- Delphi version?
- did you take in consideration another web browser framework like embeddedwb?

From my knowledge - Delphi's Twebbrowser relay on lesser then IE 9 version - and think that is a problem here.
You should put it in higher emulation mode.
Another blog to consider....
This registry hack (described on those links) - is per application (.exe).
For my need I put some code in app where use twebbrowser and app put self into registry (under current user).
Do not recommend to turn feature compatibility emulation off.
Avatar of Yair Abraham
Yair Abraham

ASKER

Hi  

Thanks for replay

The slow behavior and others issues  is only  opening with the twebbrowser  if open in the cloud with regular IE all good

 others issues:
1. alert show on pop-up, like old way  -  not in the bottom of the window
2. Response.AddHeader "X-Download-Options", "noopen" - not affecting with  twebbrowser
Hi
1. I Want to  mention that we don't use  Delphi's Twebbrowser =- we use c++ borland
2. i put alert for IE version - it is IE 11

Thanks
I assume not IE11 even it say so. Engine, I think is new but in compatibility mode with IE8/9.
Try my suggestion... with modification on page (header/meta): '<meta http-equiv="X-UA-Compatible" content="IE=11" />'

for alerts - you can suppress it with: wb.Silent = true;
well you can get that behavior easily
i forgot which event to attach it to, but this code in the correct event slows a lot down:

sleep(10000);

Open in new window

This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.