To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > Visual Basic > Database Development

Reply Post New Thread
 
Thread Tools Display Modes
Old Sep 17th, 2000, 05:03 PM   #1
Guest
 
Posts: n/a
I'm currently working on a project in VB6, using DAO, that requires me to check an xbase db for 3600+ items to see if they are in stock, before generating an entry for it on a web page. Whenever the program is in the loop performing this operation, it practically renders the system unusable. The operations usually take ~45 minutes on a P3-500 system.

What I would like to do is add some code to it that will allow the program to handle running in the background better (at all). Can anyone suggest something? Any help would be appreciated.
  Reply With Quote
Old Sep 17th, 2000, 10:04 PM   #2
Guest
 
Posts: n/a
Have you tried adding a "DoEvents" at the very bottom of your loop?
  Reply With Quote
Old Sep 17th, 2000, 11:16 PM   #3
Guest
 
Posts: n/a
Thanks! I think that's exactly what I needed. I wasn't even sure what direction to start looking.
  Reply With Quote
Old Sep 17th, 2000, 11:54 PM   #4
Guest
 
Posts: n/a
Glad to help
  Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Database Development


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:14 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.