Re: windows-less console app visual progress indicator

chris Burgess <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <[email protected]>
I do a lot of lookups in SQL Server Mgt Studio for people who send me
a list of IDs to check and got sick of having to format the items
needed to be listed in the a SQL SELECT WHERE IN (...)

e.g.
select *
from table
where val in
(
     'A'
    ,'B'
    ,'C'

)

So I copy the list they send to the clipboard, run this app which
pulls it from the clipboard, formats it, and copies it back to the
clipboard.  Then I just paste it into Mgt Studio. No big deal, but now
others in the office want to use it and I'd like to make it a little
friendlier. Since it has no UI, it's not obvious that it's done.

Thanks,

Chris







On Dec 6, 2007 10:41 AM, Peter Obiefuna <[email protected]> wrote:
> How will the App be scheduled? One design principle for unattended execution
> is that you don't assume that someone is sitting there on the desktop to see
> your brief balloon. Again, it may be installed on a server whose monitor is
> usually turned off.
>
> This sounds to me like a batch job. I advice you schedule it in a good batch
> scheduler and write out your logs to text file. At the end, you can post the
> text file to a public location for operational people to check if it ran
> successfully or you can send the log by email to a mailing list you'll
> maintain. This would be my preferred implementation. The scheduling engine
> can record the exit status if you modify your Main() procedure to "static
> int Main()" which by convention returns 0 for success and any other int for
> an errorcode of your choice.
>
> If it must be a balloon, you probably need an app with a SystemTray control
> and pop up the balloon when you want, but remember, people may still need to
> know the status of the job, even if it ended when they were out getting
> coffee.
>
> A more sophisticated system will have the server-side engine of your choice,
> and a client-side installable, ie Windows. The client-side may subscribe to
> a remoting event on the server and pop-up the balloon. A good example of
> this pattern is CCTRAY of CruiseControl.NET
>
> P
>
> --------------------------------------------------
> From: "chris Burgess" <[email protected]>
> Sent: Thursday, December 06, 2007 8:26 AM
> To: <[email protected]>
> Subject: [DOTNET-CLR] windows-less console app visual progress indicator
>
>
> > I have a very small windows-less console app that runs very quickly
> > and doesn't require user interaction. What would be a simple,
> > non-intrusive visual indicator that the job has run and completed. I
> > want something that will let them know it's done for a second or two
> > and then go away. I don't want the user to need to dismiss a dialog
> > box.
> >
> > Thanks!
> >
> > Chris
> >
>
> > ===================================
> > This list is hosted by DevelopMentor(R)  http://www.develop.com
> >
> > View archives and manage your subscription(s) at
> > http://discuss.develop.com
> >
>
> ===================================
> This list is hosted by DevelopMentor(R)  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.