PC Review


Reply
Thread Tools Rate Thread

Application never shuts down

 
 
=?Utf-8?B?bWFyY21j?=
Guest
Posts: n/a
 
      5th Jul 2005

I have an icon that points at a server application written in dotNet.

I wish to allow the users on distributed pc's to be able to close the
application and walk away but I have to ensure that this does not shut down
the actual application on the server.

In this way the application on the server acts kind of like a service but it
can never be closed down on the server.

Has anybody any idea how to implement this or indeed can it be done?


 
Reply With Quote
 
 
 
 
=?Utf-8?B?S2VuIFR1Y2tlciBbTVZQXQ==?=
Guest
Posts: n/a
 
      5th Jul 2005
Hi,

The way I would do it is to create a web service which handles all
my business logic. Then I would create a windows forms application that uses
the web service. That way the web service is always available and the client
can shut down the application on his pc. I hope this helps

Ken
--------------------------

"marcmc" wrote:

>
> I have an icon that points at a server application written in dotNet.
>
> I wish to allow the users on distributed pc's to be able to close the
> application and walk away but I have to ensure that this does not shut down
> the actual application on the server.
>
> In this way the application on the server acts kind of like a service but it
> can never be closed down on the server.
>
> Has anybody any idea how to implement this or indeed can it be done?
>
>

 
Reply With Quote
 
=?Utf-8?B?bWFyY21j?=
Guest
Posts: n/a
 
      5th Jul 2005
thankyou,

Unfortunately I have no (and I mean that literally) experience of web
services and xml. Is there another simpler(to me) means of achieveing this
task.



"Ken Tucker [MVP]" wrote:

> Hi,
>
> The way I would do it is to create a web service which handles all
> my business logic. Then I would create a windows forms application that uses
> the web service. That way the web service is always available and the client
> can shut down the application on his pc. I hope this helps
>
> Ken
> --------------------------
>
> "marcmc" wrote:
>
> >
> > I have an icon that points at a server application written in dotNet.
> >
> > I wish to allow the users on distributed pc's to be able to close the
> > application and walk away but I have to ensure that this does not shut down
> > the actual application on the server.
> >
> > In this way the application on the server acts kind of like a service but it
> > can never be closed down on the server.
> >
> > Has anybody any idea how to implement this or indeed can it be done?
> >
> >

 
Reply With Quote
 
=?Utf-8?B?bWFyY21j?=
Guest
Posts: n/a
 
      5th Jul 2005
Of course Time is of the essence here and reading my book on xml web services
is merely a lost dream at this stage.

Could I use API calls to get the computer name and implement some logic
around the Application.Exit when it's event is fired that ensures the Exit
button on a non-server machine cannot close the server application. Does that
sound mad?

 
Reply With Quote
 
Rick Mogstad
Guest
Posts: n/a
 
      5th Jul 2005

"marcmc" <(E-Mail Removed)> wrote in message
news:0D374A73-1592-4BD0-BBB9-(E-Mail Removed)...
>
> I have an icon that points at a server application written in dotNet.
>
> I wish to allow the users on distributed pc's to be able to close the
> application and walk away but I have to ensure that this does not shut
> down
> the actual application on the server.
>
> In this way the application on the server acts kind of like a service but
> it
> can never be closed down on the server.
>
> Has anybody any idea how to implement this or indeed can it be done?
>


if the application is going to "act kind of like a service", why not make it
an actual service?



 
Reply With Quote
 
=?Utf-8?B?bWFyY21j?=
Guest
Posts: n/a
 
      5th Jul 2005
I don't have that option due to my reliability on Sophisticated logging and
sms tools within .net. For that I need a working interface.

"Rick Mogstad" wrote:

>
> "marcmc" <(E-Mail Removed)> wrote in message
> news:0D374A73-1592-4BD0-BBB9-(E-Mail Removed)...
> >
> > I have an icon that points at a server application written in dotNet.
> >
> > I wish to allow the users on distributed pc's to be able to close the
> > application and walk away but I have to ensure that this does not shut
> > down
> > the actual application on the server.
> >
> > In this way the application on the server acts kind of like a service but
> > it
> > can never be closed down on the server.
> >
> > Has anybody any idea how to implement this or indeed can it be done?
> >

>
> if the application is going to "act kind of like a service", why not make it
> an actual service?
>
>
>
>

 
Reply With Quote
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      5th Jul 2005
Hi,

What does you application do?

Ken
-------------
"marcmc" <(E-Mail Removed)> wrote in message
news:8A5BD816-1385-480F-A660-(E-Mail Removed)...
Of course Time is of the essence here and reading my book on xml web
services
is merely a lost dream at this stage.

Could I use API calls to get the computer name and implement some logic
around the Application.Exit when it's event is fired that ensures the Exit
button on a non-server machine cannot close the server application. Does
that
sound mad?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application Shuts Down Dwight Microsoft Access Forms 1 9th Jul 2008 08:47 PM
How to run clean-up-code when Application shuts down. andersboth@gmail.com Microsoft C# .NET 4 2nd May 2005 10:01 PM
Application software shuts down by itself Graham Windows XP General 2 27th Feb 2004 06:40 PM
XP shuts down in the middle of an application Wolfelady Windows XP Performance 1 30th Nov 2003 07:28 AM
Security shuts application down... Allan Stewart Microsoft Outlook Discussion 2 10th Sep 2003 03:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:02 AM.