Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

In VB.Net, Form loading is very slow ...

Status
Not open for further replies.

Goudarz

Programmer
Jun 13, 2004
14
FR
Hello,
Recently I upgarde my project from VB6 to VB.Net. It's a big application (more than 120 forms and ...) and it used ADO and SQL Server 2000. This application worked very good at VB6 but after upgrading, It runs awfully slow. A form took more than 6 seconds to draw it's objects. The speed of painting objects is very slow. How can I fix this problem. However VB.Net must run the same code as fast as VB6, Isn't it?

Please help me.
 
You need to find out where the slowdown is. If you have money for 3rd party tools, Red-Gate software ANTS tool will help you.

Otherwise, you'll need to insert logging statements into your code to record the local time. Afterwards you can look at the list of logged times and see which ones have large gaps between them.

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top