Javascript not running in webbrowser component
-
Wednesday, April 11, 2012 9:33 AM
Hi
I have been using simple C# application (.NET 2.0) for years in CE5 and CE6.
It has a form with web browser control and works fine.Now I am upgrading to Compact 7 and there is a strange problem.
Page from 127.0.0.1 is loaded but javascript code in page is not executed at all.
Same page works fine when I open it with iesample.exe.
I have also created new version with .NET 3.5 but no help.
Name of my application is iexplorer.exe. (tried other names also)Any idea how to fix this?
All Replies
-
Wednesday, April 18, 2012 8:53 AM
Looks like no one else has seen this problem.
Reason for using own "browser" instead if iesample.exe is to remove toolbars.I solved this problem by editing iesample so that it does not show toolbars.
- Marked As Answer by Jari Aalto Wednesday, April 18, 2012 8:54 AM
-
Wednesday, May 09, 2012 1:03 AMI'm in need of a solution to this as well, just needing to get rid of the toolbars. How hard was editing the IESample project?
-
Tuesday, May 29, 2012 2:49 PM
It's not very hard, but you should really copy it to a project folder or to your platform folder, rather than editing the main Microsoft version. If a QFE comes along later, it will overwrite your changes and strange things will result.
IESAMPLE is an ordinary application project that uses an ActiveX browser control. If you create a Visual Studio stand-alone Smart Device application project and add the IESAMPLE source files (and make sure you match the compiler settings from SOURCES), you should be able to get a working application in a couple of hours. You might also search for hints in previous messages in this forum.
Paul T.
-
Friday, September 14, 2012 9:06 AM
I have the same problem reported by Jari Aalto, javascript code is not executed inside WebBrowser Control on WEC7, instead on WinCE 5 all worked fine inside the WebBrowser Control and from iesample.exe.
It's very frustrating that WEC7 has changed behaviour, or it's a bug?
Someone can help us, because I can't resolve the problem cloning the iesampe because the WebBrowser can control navigation and made custom action inside a program.
Many Thanks
Stefano Bianconi
- Proposed As Answer by Stefano.Bianconi Tuesday, September 18, 2012 10:22 AM
- Unproposed As Answer by Stefano.Bianconi Tuesday, September 18, 2012 10:22 AM
-
Monday, October 29, 2012 8:46 AM
I have the same problem reported by Jari Aalto, javascript code is not executed inside WebBrowser Control on WEC7, instead on WinCE 5 all worked fine inside the WebBrowser Control and from iesample.exe.
It's very frustrating that WEC7 has changed behaviour, or it's a bug?
Someone can help us, because I can't resolve the problem cloning the iesampe because the WebBrowser can control navigation and made custom action inside a program.
Hi Stefano,
exact the same problem here. I also have to use the webbrowser control because custom action inside a program.
Could you solve your problem? And if yes how?
Is there anyone what have an idea how to fix this?Thx in advance
PeterGruss pak

