473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

main form render...refresh....programatically etc

JH

I have an application that runs for many minutes. During this time if i open
other applications the form becomes all white i.e it does not render or
refresh the window. Is there a way (programatically) to render or refresh
the main form window.......

any idea on this and related issues is appreciated.
Thanks
Nov 20 '05 #1
2 1626
Use threads or simply throw in some Application.DoEvents

Greg

"JH" <yh*******@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...

I have an application that runs for many minutes. During this time if i open other applications the form becomes all white i.e it does not render or
refresh the window. Is there a way (programatically) to render or refresh
the main form window.......

any idea on this and related issues is appreciated.
Thanks

Nov 20 '05 #2
In addition to Greg,

Set that do events in a loop as this
do while MyProcessIsNotReady
threading.thread.sleep(1000)
application.doevents
loop

Otherwise a lot of power is spended to that loop.

I hope this helps.

Cor
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Damian | last post by:
Hi. Is there a way to programatically populate a continuous form? I have an array of descriptions that I want to display in the continuous form and I have a textbox on the form called...
9
by: William Wisnieski | last post by:
Hello Everyone, Access 2000 I have a main form with a continuous subform. On the main form I have a text field called . It gets populated based on what the user selects in a field on the...
1
by: Susan | last post by:
I have a bound form and subform and am trying to enter the data in both forms programatically. The Linkmaster and Linkchild properties are set. My intent is to be able to look at the data before it...
1
by: Steve Teeples | last post by:
How do you force a form to refresh itself if the contents of the form become corrupted? For example, while moving a second form over the first, I want to force a refresh of the first. -- Steve
2
by: Jorge Varona | last post by:
Greetings, I have been struggling with a problem the past two days. I need to force a refresh/postback on a web form through code. After searching Deja the best answer is that I can't do it...
1
by: Kiran | last post by:
Hi, I have my reports at http:\\localhost\ReportServer and need to use them in ASP.NET Web Form.I have a few questions reg. this ------> I want to generate a PDF when a button labeled...
3
by: gsb58 | last post by:
Hi! A mainform is being used to show records from a table in an sql database. A button on the main form will load a new form that allows the user to add, delete, update and search certain...
0
by: keri | last post by:
Hi again, After puzzling all day I have (sort of) figured a round about way to solve my problems. I have a form callsmade with a subform allaccounts On clicking on a record in the subform I...
1
by: tomlebold | last post by:
Having problems displaying query results from combo boxes on a sub form, which is on the same form that is used to select criteria. This has always worked form me when displaying query results on...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.