Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

webbrowser control does not display

Posted on 2011-02-16
3
Medium Priority
?
650 Views
Last Modified: 2012-06-22
My application collects data and then displays it in a webbrowser control.

The data collection is collected within a loop, and the webbrowser's document is re-written on each iteration.

After all the data is collected (and the loop is ended), the browser's document is re-written for the last time.

My problem... the browser doesn't show anything until the very end.  Sometime it will display the first iteration's data, but it never updates on every iteration.

Do
  If Not dataDone = True Then
    getData()
    getHTML
     webbrowser1.document.write(HTML)
  End If
Loop

getHTML
webbrowser.document.write(HTML)
0
Comment
Question by:motokent
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:motokent
ID: 34906798
corrected pseudo-code...

Do
  If Not dataDone = True Then
    getData()
    getHTML
    webbrowser1.document.write(HTML)
  Else
    Exit Do
  End If
Loop

getHTML
webbrowser.document.write(HTML)
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1500 total points
ID: 34922886
I believe that the problem is that you have a tight loop, and it doesn't allow the WebBrowser control the time to render each page correctly.  
0
 

Author Closing Comment

by:motokent
ID: 34934059
Thanks for the reply.  It doesn't really help, but it's hard to be critical since you're the only one who answered.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question