Slow response with SQL table in vb.net app

When the user opens one of the forms there is a long delay.  I have found that one of the SQL tables is much larger than most users ever encounter.  It is a table that is only opened in some cases in the code for this form, but when this slowdown happened, it made me wonder if 'something' is happening with that table as we start the form...like maybe vb.net does some type of "pre-fetch" or "pre-something" just in case that table DOES get opened.  Note that this is in the compact framework environment.

So is anyone familiar with the "inner workings" of a vb.net app at runtime, which would explain the delay?  TIA
LVL 3
sasllcAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
It depends on you code.

Does you reuse existing connections or create a new one?
Do you open any record sets at the from creation time which are not needed?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.