Form loses focus (I think)

R

Rob Savage

I am using vb to call a succession of Kix scripts, updating a progress
bar on screen while doing so.

My problem is that the form loads, displays the progress bar, but then
blanks out while all the shell commands process.

Is this a focus issue, and how do I get the form and its progress bar
to remain displayed and updated by the code while the shell commands
go through?

Cheers

Rob
 
H

Herfried K. Wagner [MVP]

* (e-mail address removed) (Rob Savage) scripsit:
I am using vb to call a succession of Kix scripts, updating a progress
bar on screen while doing so.

My problem is that the form loads, displays the progress bar, but then
blanks out while all the shell commands process.

Is this a focus issue, and how do I get the form and its progress bar
to remain displayed and updated by the code while the shell commands
go through?

Are you using Windows XP? Check your application on a machine running
Windows 2000. If the problem doesn't occur there, then it's caused by
newly introduced behavior of Windows XP to mark applications as "not
responding" after a certain time.
 
G

Guest

Just tel the thing it has the focus. like obejct.presentation.setFocus before
you write end sub.
userform1.textbox1.setFocus means the first textbox on the userform gets it.

greatings from Holland
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top