Solved

Screen refresh during stored procedures execution

Posted on 2002-05-29
2
231 Views
Last Modified: 2012-05-04
Hi experts,

I have a VB6 app that executes SQL Server 7 stored procedures.  The processing of my stored proc. takes about 15 minutes.  I would like to inform user about wich procedure is executing but when I set the caption property of a label it doesn't work. I think there is a refresh problem !

Thanks in advance.
0
Comment
Question by:anderlecht
2 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
ID: 7041167
After setting the label caption, use DOEVENTS


lblProgress.Caption = "Processing procedure # 1"
Doevents

Cheers
0
 

Author Comment

by:anderlecht
ID: 7041192
Thank you very much it works !!!!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
change vba from autofit to 13.5 width? 4 29
MS Acccess - Update Field in Table when report is printed 6 44
Add and format columns in vb6 7 57
MsgBox 4 59
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question