WebBrowser auto refresh

Discussion about Code Builder Builder and Winlog language support.
Post Reply
User avatar
admin
Site Admin
Posts: 373
Joined: Tue Nov 17, 2009 1:18 pm

Re: WebBrowser auto refresh

Post by admin »

Dear Sir,
the tObject functions must be called from functions launched in the template. For example onClick function on button or openFunction of template.

Best Regards
User avatar
admin
Site Admin
Posts: 373
Joined: Tue Nov 17, 2009 1:18 pm

Re: WebBrowser auto refresh

Post by admin »

Dear Sir,
I tried your code. It work properly, the refresh is done every 5 minutes (Sleep(300000);)
I don't think that the error is in your code.

You can post a test application?

Regards
User avatar
admin
Site Admin
Posts: 373
Joined: Tue Nov 17, 2009 1:18 pm

Re: WebBrowser auto refresh

Post by admin »

Dear Sir,
your application works correctly. Every 5 minutes is done the refresch of web page.
To be sure that the function is properly be call I inserted a "MessageBox" that appears on the screen each time you run the refresch (only for test).

Best Regards
Attachments
test.zip
(9.72 KiB) Downloaded 932 times
User avatar
admin
Site Admin
Posts: 373
Joined: Tue Nov 17, 2009 1:18 pm

Re: WebBrowser auto refresh

Post by admin »

Dear Sir,
I did a test with sleep at 10 seconds and refresch is done properly.

Best Regards
User avatar
admin
Site Admin
Posts: 373
Joined: Tue Nov 17, 2009 1:18 pm

Re: WebBrowser auto refresh

Post by admin »

Ok, I understand. I could not find the problem because I already have Internet Explorer set up this way.

Thanks and best regards.
Post Reply