prompt to set IE Emulation mode

Questions and information about creating Internet aware NeoBook applications. Including PHP, HTML, FTP, HTTP, Email, etc.

Moderator: Neosoft Support

Locked
User avatar
fkapnist
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece
Contact:

prompt to set IE Emulation mode

Post by fkapnist »

At first run the WebBrowser is not rendering right (page does not display and there are JavaScript errors) The user is prompted to set the current IE Emulation mode in the Windows registry for better rendering with HTML 5 and CSS 3 documents. The user is again prompted to restart the program for changes to take effect. When the program restarts users will see the correct IE Emulation mode for better rendering with HTML 5 and CSS 3 documents. They will not be prompted again.

http://www.verticalbrowser.com/zips/firstrun.zip

(This code should go into the Book Startup Properties but it is in the Page Startup to make it easier for you to test this example. There are two mode examples in the code: firstrundemo.exe and firstrundemo_Test.exe) You must compile/publish (firstrundemo.exe) in your Pub Directory for this example to work.

:idea: :arrow:
.
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: prompt to set IE Emulation mode

Post by Neosoft Support »

Thanks for sharing this with us!
NeoSoft Support
Locked