473,379 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Application never shuts down


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?
Nov 21 '05 #1
6 1188
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?

Nov 21 '05 #2
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?

Nov 21 '05 #3
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?

Nov 21 '05 #4

"marcmc" <ma****@discussions.microsoft.com> wrote in message
news:0D**********************************@microsof t.com...

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?

Nov 21 '05 #5
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" <ma****@discussions.microsoft.com> wrote in message
news:0D**********************************@microsof t.com...

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?

Nov 21 '05 #6
Hi,

What does you application do?

Ken
-------------
"marcmc" <ma****@discussions.microsoft.com> wrote in message
news:8A**********************************@microsof t.com...
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?
Nov 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: BJ | last post by:
The application I have been developing is great except one flaw. When Windows NT shuts down, it doesn't send the Event to my application (if it did, it would close all of the open forms and kill an...
4
by: andersboth | last post by:
I want to run some code when my Windows Form Application is being shut down. I want to run this code when the Application is being shut down in the following situation: 1. The App is being...
3
by: rdemyan via AccessMonster.com | last post by:
I have a forced logoff routine in place that works well unless an Access messagebox is showing in the front-end that the routine is trying to shut down. It doesn't work use Access commands to...
0
by: Kevin A | last post by:
The problem is that the web application mysteriously shuts down (ending all sessions) due to a supposed 'configuration change'. By using ASP.Net Health Monitoring we can determine that the...
4
by: Markus Stoeger | last post by:
Hi, I have a problem with Application.Run() when Windows is shutting down. Please have a look at the copy&paste example program below. The application has no forms. It has only got a notify...
5
by: Henry Stockbridge | last post by:
Hi, I have a combo box on a form whose purpose is to add a record to the form's underlying table. There are several (16) fields that the combo box carries with it, only a few that are visible...
1
by: TC | last post by:
I'm experiencing an unusual problem. When I run a specific make-table query on a computer, that computer shuts down. The computer shuts down completely, without warning, as if a power failure...
2
by: Jack | last post by:
Sorry for the double post (also in the IIS group). We've got an ASP.Net 2.0 app running on IIS6. We kept losing sessions, and enabled health monitoring to see what was happening. This morning...
6
by: DM | last post by:
Hi All, I have written a server program which distributes real-time data to our customers and is also used by our customers to redistribute this data over their internal networks. The program is...
1
by: Cramer | last post by:
I'm running XP Pro/SP2 + patches and updates, with Visual Studio Professional 2008 (and no prior installation of Visual Studio ever installed). When attempting to open an ASP.NET Web application...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.