Re: Program not ending???
- From: cj <cj@xxxxxxxxxxxxx>
- Date: Wed, 01 Feb 2006 15:35:43 -0500
Allright first off I can't keep updating down in the message. I'm getting lost.
Where do I put your code? I'm looking at a form with a timer on it.
Armin Zingler wrote:
"cj" <cj@xxxxxxxxxxxxx> schrieb> > > > If I don't call me.show() the program never displays on the > > screen > > Yes, because you execute the code /before/ the Form has been > shown, i.e. in form_load. Why not > 1. show the form > 2. execute the code > ? >
That's fine. What event would I use.
There is no event. These are two commands or two blocks of commands.
I do not wish to use another control--timer.
Why?
I want this to run when the program starts.
See my other code: it runs in Sub Main. Sub Main is the sub that is started when you start the application (open the project properties to set the "startup object")
Since you indicated you have experience pre-.net please help me from that mindset. I do not understand your .net code.
Which part? The code only
1. shows the Form 2. Shows the Folderbrowserdialog 3. If step two has not been cancelled: 3.1. The path is passed to the Form and the timer is started. 3.2. Application.run starts the message loop (running til the Form has been closed)
Armin
.
- Follow-Ups:
- Re: Program not ending???
- From: Armin Zingler
- Re: Program not ending???
- References:
- Program not ending???
- From: cj
- Re: Program not ending???
- From: Armin Zingler
- Re: Program not ending???
- From: cj
- Re: Program not ending???
- From: Armin Zingler
- Re: Program not ending???
- From: cj
- Re: Program not ending???
- From: Armin Zingler
- Program not ending???
- Prev by Date: string to double try parse ---decimals lost
- Next by Date: Re: string to double try parse ---decimals lost
- Previous by thread: Re: Program not ending???
- Next by thread: Re: Program not ending???
- Index(es):
Relevant Pages
|