If "Navigation Complete" never takes place...

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:

If "Navigation Complete" never takes place...

Post by fkapnist »

Some websites (especially with ads) constantly update even while you are viewing them. "Navigation Complete" never takes place as a "Done" status (if you have actions in the Navigation Complete tab, they are never executed) because the browser is continuously "waiting" for the site to finish loading, which it never does..... and the WebBrowser Object sometimes finally freezes. One solution is this:

Click on "Tools" -- in later editions of Internet Explorer this is a cog icon.

Click on "Internet Options" in the drop-down menu.

Click on "Security,", then click the "Internet" icon under "Select a zone...", then click on "Custom level."

Scroll down to the "Miscellaneous" section and check "Disable" underneath "Allow META REFRESH."


However, the end-user might not want to go to all that trouble. So another solution is to put a "kill button" somewhere in your application's menu or tools. It should trigger the object action "DisconnectFromInternet." A way to reconnect ("ConnectToInternet") should also be in your application - once the unresponsive web page is replaced.


Since the "DisconnectFromInternet" action doesn't work for broadband connections, you can write two batch (cmd) files and run them from Neobook:

disconnect.cmd

Code: Select all

@echo off
IPCONFIG/RELEASE
cls
exit

connect.cmd

Code: Select all

@echo off
IPCONFIG/RENEW
cls
exit
P.S. If you disable META REFRESH in the Internet Options some sites will not load at all....

:!: :idea:

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

Re: If "Navigation Complete" never takes place...

Post by fkapnist »

Here are some helpful tips if Internet Explorer is not responding:

http://www.techsupportall.com/how-to-fi ... d-working/

:idea:

.
Locked