Beta Question :-)

  • Thread starter Thread starter Stan Sainte-Rose
  • Start date Start date
S

Stan Sainte-Rose

Hi there,

I was happy for testing my first vb.net application...
But I am disappointed to see how slow it is...

So before I die silly, I would like to know if I had to include in all my
forms the Import Section when I use datagrid, databases, etc...
Or do I miss something.. because it's very slow.... ?

Thanks for your help..

Stan
 
You don't have to import anything; you can always reference things directly
like:
dim dt as System.Data.DataTable
However, that shouldn't make your application slow. What are you trying to
do? If it's small enough, post the code here so we all can see what you're
trying to do, and see if there are any improvements we can suggest.

Josh Moody
VSU Team

--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
 
* "Stan Sainte-Rose said:
I was happy for testing my first vb.net application...
But I am disappointed to see how slow it is...

So before I die silly, I would like to know if I had to include in all my
forms the Import Section when I use datagrid, databases, etc...
Or do I miss something.. because it's very slow.... ?

Are you sure you compiled your application in "Release" mode?
 
I agree with Herfried.
(One should always do that anyway <g>)

At first I thought it was slow but that was becasue I was always debugging
the code and stepping into it.

Try a Release version and then execute it by clicking the .exe file in the
Bin folder.
It should be dramatically faster.
 
* "Stan Sainte-Rose said:
I get it.. It was because it was not in release mode

If the application's start takes some time on the destination computer,
you may use the "ngen.exe" tool to create a native computer (on the
destination computer).
 
Back
Top