Slow loading form 
Author Message
 Slow loading form

Hello,

I have a form of roughly 225 k  (frm size) and since a while the form takes
a minute to load, this used to be 10 seconds.

How can i debug what is happening under water while the form is loaded, why
is this taking so long.

Greetings Sukkel



Mon, 24 Jun 2002 03:00:00 GMT  
 Slow loading form
Hello,

I have a form of roughly 225 k  (frm size) and since a while the form takes
a minute to load, this used to be 10 seconds.

How can i debug what is happening under water while the form is loaded, why
is this taking so long.

Greetings Sukkel



Mon, 24 Jun 2002 03:00:00 GMT  
 Slow loading form
Are you connecting to any databases on the network things like that?



Quote:
> Hello,

> I have a form of roughly 225 k  (frm size) and since a while the form
takes
> a minute to load, this used to be 10 seconds.

> How can i debug what is happening under water while the form is
loaded, why
> is this taking so long.

> Greetings Sukkel

Sent via Deja.com http://www.deja.com/
Before you buy.


Mon, 24 Jun 2002 03:00:00 GMT  
 Slow loading form

Quote:
> I have a form of roughly 225 k  (frm size) and since a while the form
takes
> a minute to load, this used to be 10 seconds.

> How can i debug what is happening under water while the form is loaded,
why
> is this taking so long.

i have no idea, but you now in the realm of 'what are splash screens for!'

Rick



Mon, 24 Jun 2002 03:00:00 GMT  
 Slow loading form
have you tried to put breakpoints to follow the execution?


Quote:
>Hello,

>I have a form of roughly 225 k  (frm size) and since a while the form takes
>a minute to load, this used to be 10 seconds.

>How can i debug what is happening under water while the form is loaded, why
>is this taking so long.

>Greetings Sukkel



Mon, 24 Jun 2002 03:00:00 GMT  
 Slow loading form
Hi Rick,

I have a splash screen !  But it takes a minute for the complete app (just a
local 600k exe on a PII 350) to start this splash screen. I wish to debug to
app to look under water to know what is going on under the hood.

Chris



Quote:

> > I have a form of roughly 225 k  (frm size) and since a while the form
> takes
> > a minute to load, this used to be 10 seconds.

> > How can i debug what is happening under water while the form is loaded,
> why
> > is this taking so long.

> i have no idea, but you now in the realm of 'what are splash screens for!'

> Rick



Mon, 24 Jun 2002 03:00:00 GMT  
 Slow loading form
and.... the question is? howdo i start debugging?

There's a whole menu on the Debug Items..  you can Add breakpoints, or event
just step through your program from the start... (instead of F5 or Ctrl-F5,
use F8 - Step)...

10 sec to 1 min is a long time.... what are you doing on startup?

Quote:

>Hi Rick,

>I have a splash screen !  But it takes a minute for the complete app (just
a
>local 600k exe on a PII 350) to start this splash screen. I wish to debug
to
>app to look under water to know what is going on under the hood.

>Chris



>> > I have a form of roughly 225 k  (frm size) and since a while the form
>> takes
>> > a minute to load, this used to be 10 seconds.

>> > How can i debug what is happening under water while the form is loaded,
>> why
>> > is this taking so long.

>> i have no idea, but you now in the realm of 'what are splash screens
for!'

>> Rick



Mon, 24 Jun 2002 03:00:00 GMT  
 Slow loading form
might be just you aren't giving your splash screen a chance to
refresh/paint. DoEvents might be needed. That still doesn't fix your problem
of a slow start, but at least your end user will have something to look at
while they wait.

--
Bill McCarthy, MVP VB
Total Environment
www.TotalEnviro.com/PlatformVB


Quote:
> and.... the question is? howdo i start debugging?

> There's a whole menu on the Debug Items..  you can Add breakpoints, or
event
> just step through your program from the start... (instead of F5 or
Ctrl-F5,
> use F8 - Step)...

> 10 sec to 1 min is a long time.... what are you doing on startup?


> >Hi Rick,

> >I have a splash screen !  But it takes a minute for the complete app
(just
> a
> >local 600k exe on a PII 350) to start this splash screen. I wish to debug
> to
> >app to look under water to know what is going on under the hood.

> >Chris



> >> > I have a form of roughly 225 k  (frm size) and since a while the form
> >> takes
> >> > a minute to load, this used to be 10 seconds.

> >> > How can i debug what is happening under water while the form is
loaded,
> >> why
> >> > is this taking so long.

> >> i have no idea, but you now in the realm of 'what are splash screens
> for!'

> >> Rick



Tue, 25 Jun 2002 03:00:00 GMT  
 Slow loading form

Just put a break point in the initialize event and step through the de{*filter*}
one line of code at a time. If your form is populating a control or
recordset from a database as part of it's load step, then perhaps the amount
of data being processed is getting larger. Perhaps the network connection to
the database has been bumped down from 100mps to 10mbs or 56k for some
reason. Also, 225k seems like a lot of bloat. Try moving some of your
functions to a seperate module or class.

Eric

Quote:

>Hello,

>I have a form of roughly 225 k  (frm size) and since a while the form takes
>a minute to load, this used to be 10 seconds.

>How can i debug what is happening under water while the form is loaded, why
>is this taking so long.

>Greetings Sukkel



Thu, 11 Jul 2002 03:00:00 GMT  
 Slow loading form


Quote:
> Hello,

> I have a form of roughly 225 k  (frm size) and since a while the form
takes
> a minute to load, this used to be 10 seconds.

> How can i debug what is happening under water while the form is
loaded, why
> is this taking so long.

Start the program by pressing F8.  This will step you thru the program
line by line.

BTW, if you're program takes a minute to load, something (or many
things) are seriously wrong.

- Jim

Sent via Deja.com http://www.deja.com/
Before you buy.



Thu, 11 Jul 2002 03:00:00 GMT  
 
 [ 10 post ] 

 Relevant Pages 

1. Slow Outlook Custom Form Loading & Executing

2. Form loading is slow

3. Slow Form Load !

4. Form load is slow

5. VB6 Data Form loading too slow?

6. VB6 Data Form loading too slow?

7. eVB Masters - Slow Load with Control Intensive Form

8. Slow, slow, slow search on VB6, ADO and SS7

9. VB4 is slow..slow....slow

10. Insert into SQL Server slow, slow, slow...

11. load another form form one form

12. Database Loads slow

 

 
Powered by phpBB® Forum Software