msmith
Sun Aug 07 19:16:02 CDT 2005
Sorry, the timer seems to work.
Thanks Mike
"Daniel Moth" wrote:
> There was no question in there. So was my other post helpful or do you have
> a specific question?
>
> Cheers
> Daniel
> --
>
http://www.danielmoth.com/Blog/
>
> "msmith" <msmith@discussions.microsoft.com> wrote in message
> news:A532E083-1E8A-48CF-B91C-EBE585D23574@microsoft.com...
> >I want a UI. I have a listbox, statusbar, and progressbar to show the
> >status
> > of whats happening.
> >
> >
> > "Daniel Moth" wrote:
> >
> >> I still don't see your requirement/problem.
> >>
> >> If you want to have an exe that does work with no UI then create a
> >> console/nongraphical application.
> >>
> >> If you want to create one with a UI, offer the user the chance to do the
> >> work on a click of a button or do it in the form load eventhandler or in
> >> the
> >> ctor or based on a timer firing (e.g. start a timer in the ctor of the
> >> form
> >> for say 1 second and in the Tick event handler start your work). When
> >> your
> >> app is done doing its job, offer the user the chance to quit it or exit
> >> it
> >> yourself at that time or start a timer and close it when it Ticks.
> >>
> >> If you provide more info maybe we can elaborate on alternative solutions.
> >>
> >> Cheers
> >> Daniel
> >> --
> >>
http://www.danielmoth.com/Blog/
> >>
> >> "msmith" <msmith@discussions.microsoft.com> wrote in message
> >> news:B0E7C0ED-4A9E-4D2E-8DC5-4AEC2A768CE0@microsoft.com...
> >> > Also, how would a forms.timer help.
> >> >
> >> > Thanks Mike
> >> >
> >> > "Daniel Moth" wrote:
> >> >
> >> >> That is a very weird requirement.. what is it you are really trying to
> >> >> achieve?
> >> >>
> >> >> Anyway... I haven't tried to repro what you described but maybe using
> >> >> a
> >> >> forms.timer will help...
> >> >>
> >> >> Cheers
> >> >> Daniel
> >> >> --
> >> >>
http://www.danielmoth.com/Blog/
> >> >>
> >> >> "msmith" <msmith@discussions.microsoft.com> wrote in message
> >> >> news:F680EAF1-7033-4BD5-9285-BDCCF3B04FFB@microsoft.com...
> >> >> >I need to Create a form that will run code, then exit with no user
> >> >> > interaction.
> >> >> > Problem:
> >> >> > If all the controls are docked, the Activated, Paint, and GotFocus
> >> >> > do
> >> >> > not
> >> >> > get called with the application is started.
> >> >> > If I put all my code in the Load, the form is never seen.
> >> >> >
> >> >> > Thanks Mike Smith
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>