vb.net - DoEvents in .NET -


What is the equivalent of DOBs in VB6?

Edit:

I have a sub that takes a long time to do its work (this is a one-time time) When I call it, the form is white goes. In VB6, I used to put one DoEvents in the method to stop it (while doing it).

There are some (if any) issues that are the correct solution for doovents. If you are doing something then there may be some suggestions about it.


In response to your edit, what you need to do. This will keep your main (GUI) thread free, repaint it and allow it to behave normally. There are many tutorials on the web for this.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -