Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slowing down
Message
De
10/07/2002 09:50:31
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00671972
Message ID:
00677024
Vues:
32
Good news! :) Monday and Tuesday the program ran with no slow down occurring, no performance issues, no loss of Tab functionality, no glitches, no problems, even the not responding problem when the ENTER key is pressed on a check box is not reproducing. I can't believe those two forms caused all those problems, but apparently they did. Anyway, I have to plug them back in, which leads me to a few questions. Is it proper programming procedure to have forms running in the background, that query the database based on a time interval and will become visible to notify the user when results are returned? If so, what is a logical time interval for checking the database so as not to over work the server? Also, should I run the forms on a separate thread and what effect will that have? I assume the forms have to be put in class to be ran on separate thread. Is the code below correct?

objWarningForms = New clsWarningForms()
Dim Thread1 As New System.Threading.Thread(AddressOf _
objWarningForms.LoadWarningForms)

Thread1.Start() ' Start the new thread.

Thank you very much for the help and your hard work YAG! It is greatly appreciated.
Randy Belcher
AFG Industries, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform