PC Review


Reply
Thread Tools Rate Thread

What can slow down VB.NET windows database applications

 
 
Jelena B
Guest
Posts: n/a
 
      29th Feb 2004
What could be the common or possible reasons that can slow down an
VB.NET windows database (SQL Server) application. What is the normal
time needed for such an application to initialize and show is first,
start up form.

I used stored procedures for every communication with database and the
biggest DataTable I use have 80 rows and 5 columns, no images, no
multimedia, only digits and short texts.

Why it takes so long to rize in the first attempt and every other
attemp is 2 times quicker.

The same problem appears with Reports made with Crystal Report
Designer.

Crystal Report is populated with data from DataTable object, that is
populated with DataReader that is then result of ExecuteRader method
of command object that execute stored procedure. What is more, there
is so few data to print that there is only one page od report.

Thanks, Jelena
 
Reply With Quote
 
 
 
 
Anand Balasubramanian
Guest
Posts: n/a
 
      1st Mar 2004


Hi,
The first time you load a .Net application, the clr has to initialize and
then will load your application. The second time around you wont see this
delay. The other reason why your app could be slow is, if you have the
database connectivity code in the formload and basically if it is
populating a datagrid then it may take a while.


Anand Balasubramanian
Microsoft, Visual Basic .NET

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks

 
Reply With Quote
 
Jelena B
Guest
Posts: n/a
 
      2nd Mar 2004
I found out the same. I just wondered if there is a way to avoid such
a slow initialization, but it seems that that is so no matter how I
whrite code.

Thanks for concern, Jelena
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Office Applications slow to open from Windows Explorer Graham Mayor Microsoft Word Document Management 1 8th Dec 2006 11:28 PM
Books for database oriented windows applications adodotnet20@gmail.com Microsoft ADO .NET 5 31st Oct 2006 05:57 AM
Books for database oriented windows applications adodotnet20@gmail.com Microsoft Dot NET Framework Forms 2 31st Oct 2006 05:57 AM
EVOLV For Windows Database Slow Oscar Spyware Application Compatibility 3 28th May 2005 05:34 AM
XP loads slow and applications load very slow ratch Windows XP General 0 30th Sep 2004 03:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:18 PM.