Solved

Screen refresh during stored procedures execution

Posted on 2002-05-29
2
226 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
Comment Utility
After setting the label caption, use DOEVENTS


lblProgress.Caption = "Processing procedure # 1"
Doevents

Cheers
0
 

Author Comment

by:anderlecht
Comment Utility
Thank you very much it works !!!!
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now