1. GUSTAVO MARCELINO
  2. PowerBuilder
  3. Wednesday, 25 March 2020

Hello,

I need to show this link in a Window (or userObject):

http://uk.site.sports.betfair.com/betting/LoadRunnerInfoChartAction.do?marketId=170227003&selectionId=5606609&asianLineId=0

To keep updating every 5 seconds on a timer

I'm using Microsoft WebBrowser that I got from the internet

The problem is that with each update, everything is blank on the screen, and then reloads, I would need it not to redraw until I reload everything, so as not to give the feeling to the user who is reloading.

I'm using in uo_web_browser:
SetRedraw (False)
of_Navigate (is_url)

event on Navigatecomplete2:
SetRedraw (True)

But it didn't work, the screen keeps drawing for the user.

GUSTAVO MARCELINO Accepted Answer Pending Moderation
0
Votes
Undo

René Ullrich, I will try to do that.

How can I get the image of the url and show it in a Picture object?

Because the link I passed is just an image.

Comment
Use HttpClient to get it as a blob, write it to disk, assign it to a picture control.
  1. Roland Smith
  2. Wednesday, 25 March 2020
Even better than using the ms web browser control.
  1. Miguel Leeuwe
  2. Thursday, 26 March 2020
There are no comments made yet.
  1. Wednesday, 25 March 2020
  2. PowerBuilder
  3. # 1
René Ullrich Accepted Answer Pending Moderation
2
Votes
Undo

Hi Gustavo,

how about using two browser controls? So you can have one invisible to navigate while the other shows the current content. If the load finished you can show the new control and hide the other.

Just an idea.

Regards,

René

Comment
There are no comments made yet.
  1. Wednesday, 25 March 2020
  2. PowerBuilder
  3. # 2
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.