By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,871 Members | 2,304 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,871 IT Pros & Developers. It's quick & easy.

Progress Bar for sql statements in VB

P: 20
Ok, my problem is not how to do a progress bar.
Here is my problem:
I have a window that opens, and the on load function loads a 14x24 table with data retrieved from a sql server. The problem is is that the window isn't fully drawn until after the table is populated.

How do you force the window to be drawn so my progress bar can be seen?
May 4 '07 #1
Share this Question
Share on Google+
3 Replies


MMcCarthy
Expert Mod 10K+
P: 14,534
You have posted this question in the Articles section. I am moving it to the Visual Basic forum.

ADMIN
May 5 '07 #2

Expert 5K+
P: 8,434
Ok, my problem is not how to do a progress bar.
Here is my problem:
I have a window that opens, and the on load function loads a 14x24 table with data retrieved from a sql server. The problem is is that the window isn't fully drawn until after the table is populated.

How do you force the window to be drawn so my progress bar can be seen?
How is the table populated? If your code is doing it, this will be simple. If it's a grid control of some sort, bound to the database so it all happens "behind the scenes" then you might be out of luck.

Also, what version of VB?
May 5 '07 #3

P: 20
Figured it out. Before all the sql stuff starts, just add Me.refresh. That does it.
May 7 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.