Advertisement

07.20.2007 at 02:59PM PDT, ID: 22710868
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

VB6 Program Appears Frozen While Running

Asked by AJKConcepts in Visual Basic Programming

Tags: ,

Hi all,

I seem to have the same problem with every VB6 app I write. While it is running through the loops of database code, the program appears frozen and I have to wait till it finishes. I have tried DoEvents, but it doesn't work. I have a text field that updates after each record is written and I just want to be able to see the textfield while the program is running. Is this not possible? Here is a snippet of code below, but it's actually doing this anytime any of my programs have any sort of loop. What am I missing? I've tried putting in a progress bar, and that doesn't work either.

DoEvents
        While Not EOF(1)
            Line Input #1, inputString
            tempArray = Split(inputString, vbTab)
             If UBound(tempArray) > 0 Then
                taxID = Replace(tempArray(2), "'", "")
                    If tempArray(10) <> "''" Then
                        faxNumber = Replace(tempArray(10), "'", "")
                        SQLstring = "UPDATE tblProvider SET FAX = '" & faxNumber & "' WHERE taxID = " & taxID
                        dbConnection.dbConnection.Execute SQLstring, , adExecuteNoRecords
                        frmMain.txtResult.Text = frmMain.txtResult.Text & "record " & taxID & " updated" & vbCrLf
                        frmMain.txtResult.Refresh
                    End If
                Else
                    '---write to the log file
                    objTxtStream.Write inputString & vbCrLf
                End If
        WendStart Free Trial
[+][-]07.20.2007 at 03:02PM PDT, ID: 19535640

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.20.2007 at 03:04PM PDT, ID: 19535661

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Visual Basic Programming
Tags: vb6, program
Sign Up Now!
Solution Provided By: zorvek
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.20.2007 at 05:38PM PDT, ID: 19536481

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.20.2007 at 05:41PM PDT, ID: 19536490

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2007 at 07:30AM PDT, ID: 19539283

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2007 at 09:29AM PDT, ID: 19539861

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2007 at 12:57AM PDT, ID: 19545648

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32