Author |
Message |
Sukke #1 / 10
|
 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 |
|
 |
Sukke #2 / 10
|
 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 |
|
 |
jsedo.. #3 / 10
|
 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 |
|
 |
Rick [Kitty5 #4 / 10
|
 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 |
|
 |
fab #5 / 10
|
 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 |
|
 |
Sukke #6 / 10
|
 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 |
|
 |
Marie Montane #7 / 10
|
 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 |
|
 |
Bill McCarth #8 / 10
|
 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 |
|
 |
Eric #9 / 10
|
 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 |
|
 |
emun.. #10 / 10
|
 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 |
|
|