When i start a code from button in useform the userform appera white!
Peraphs is a memory prob?
in this case i read line by line a txt file.
How to resolve?
why userform is with
-
- PlatinumLounger
- Posts: 4481
- Joined: 26 Apr 2010, 17:36
why userform is with
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 79365
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: why userform is with
The processor is probably too busy reading the file to draw the form. You can force the form to be drawn by adding a line
Me.Repaint
in the code behind the button.
Me.Repaint
in the code behind the button.
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4481
- Joined: 26 Apr 2010, 17:36
Re: why userform is with
sorry but i use VB6 classic, in this case i can use me.refresh....?HansV wrote:The processor is probably too busy reading the file to draw the form. You can force the form to be drawn by adding a line
Me.Repaint
in the code behind the button.
i use me.repaint in vba for excel -(:
in other case tested with me.refresh in the behind the button but same prob..
-
- Administrator
- Posts: 79365
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands