Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Forms sticking VB6

Forms sticking VB6

Scheduled Pinned Locked Moved Visual Basic
databasehelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rradhay
    wrote on last edited by
    #1

    I am having a problem where I am importing/exporting rows from one database into another and there are approximately 500 rows with data. The user clicks on a button to import and the form sticks up until such time as the processing completes (import/export all rows) which takes like a minute. The processing goes through a couple tables to get data for the processing and takes too long (like 1 - 2 minutes) and all the forms stick up while processing. Any suggestions for improving having some sort of progress bar/ preventing the forms from sticking on this would be greatly appreciated! I am using recordset queries to get data to do all the comparisons etc. for import/export..

    H 1 Reply Last reply
    0
    • R rradhay

      I am having a problem where I am importing/exporting rows from one database into another and there are approximately 500 rows with data. The user clicks on a button to import and the form sticks up until such time as the processing completes (import/export all rows) which takes like a minute. The processing goes through a couple tables to get data for the processing and takes too long (like 1 - 2 minutes) and all the forms stick up while processing. Any suggestions for improving having some sort of progress bar/ preventing the forms from sticking on this would be greatly appreciated! I am using recordset queries to get data to do all the comparisons etc. for import/export..

      H Offline
      H Offline
      Hesham Amin
      wrote on last edited by
      #2

      Hi,, as you are using recordsets to transfer data you can use Doevents function before each call to MoveNext.. this gives the form the ability to process messages (Events) using a progress bar is a good idea..

      R 1 Reply Last reply
      0
      • H Hesham Amin

        Hi,, as you are using recordsets to transfer data you can use Doevents function before each call to MoveNext.. this gives the form the ability to process messages (Events) using a progress bar is a good idea..

        R Offline
        R Offline
        rradhay
        wrote on last edited by
        #3

        Thanks!! That has definitely helped!!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups