vb.net form not responding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brunzire
    New Member
    • Aug 2007
    • 9

    vb.net form not responding

    i am writing a data extract program that displays a progress bar and the current record on the screen. It all works fine except when i click on the form or on another application then it goes to 'not responding'.
    The app eventually returns performing all its functions corrrectly but i need it to refresh the screen.

    i have written similar programs in vb6 and i can click away from the program and then back and i the screen refreshes no problems for me.

    any ideas, i need to be able to display to the user the currrent table being extracted, no of records and current record
  • JonJacobs
    New Member
    • Aug 2007
    • 22

    #2
    Perhaps code like this will help...

    Label1.Text = SomeDataReturne d()

    Label1.Update ' This will help make sure the new data displays

    Jon

    Comment

    • brunzire
      New Member
      • Aug 2007
      • 9

      #3
      The whole form/app is not responding. it is not a problem with an individual control.

      Comment

      • brunzire
        New Member
        • Aug 2007
        • 9

        #4
        when i run the app even when i click on the form it goes to not responding. Can somebody please help with this or i will have to revert to vb 6 to write this

        Thanks in advance

        Comment

        • brunzire
          New Member
          • Aug 2007
          • 9

          #5
          sorted with Application.DoE vents()

          Comment

          Working...