473,321 Members | 1,669 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,321 software developers and data experts.

Convert forms app to a service...

Can anyone give me some "high level" pointers on converting an app to a
service?

Most of my "logic" is in a seperate class already which will help, but how
do I go about actually getting the two bits to talk?

Assuming I can take all the guts out and build a service, what's the usual
method for a forms app to talk back to that service? Basically my service
would be doing some background processing, and the forms app would show the
status of this, and allow configuration etc. However, the service should
still continue it's working even if the forms app is not running.

I've created services before, just not ones that have a related "front
end"...

James

Sep 17 '07 #1
1 1058

"JamesB" <ja***@somewhere.com.net.com.netwrote in message
news:46**********************@news.zen.co.uk...
Can anyone give me some "high level" pointers on converting an app to a
service?

Most of my "logic" is in a seperate class already which will help, but how
do I go about actually getting the two bits to talk?

Assuming I can take all the guts out and build a service, what's the usual
method for a forms app to talk back to that service? Basically my service
If there's any chance that the UI might ever control the service on a
different computer, you might want to use TCP/IP sockets. That gives you
immense flexibility and is a standard. Named pipes are another good option,
if both computers will always run Windows (this is a C# group, so I guess
that's a pretty good assumption) and will let you take advantage of Windows
security by defining an access control list which will be checked against
the user's login.
would be doing some background processing, and the forms app would show
the status of this, and allow configuration etc. However, the service
should still continue it's working even if the forms app is not running.

I've created services before, just not ones that have a related "front
end"...

James

Sep 17 '07 #2

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

Similar topics

0
by: Michael Brandt Lassen | last post by:
Hi gurus This problem is about calling Web services secured by Forms Authentication from Windows Forms user controls embedded in HTML. Using the object tag I’ve managed to include a Windows...
25
by: cory | last post by:
Hi, I have an Access database and am having an ASP.NEt application written for it. It is almost complete. I have a hosting company that I signed up with a month ago but before I did anything I...
1
by: Tony Gambee | last post by:
I have a system that we have had running for many years. We keep our file in 2000 format, but develop in 2003 environment... ussually we use our test computer with 2000 loaded to convert back to...
12
by: dixie | last post by:
Can someone familiar with Access 2003 please answer this question? I am asking because I don't have the use of A2003. When Access 2003 finds an Access 2000 database, does it come up with some...
2
by: Chris Dunaway | last post by:
I am attempting to use the AppDomain.UnhandledException event in a Windows Forms app and also in a Windows Service. But the event doesn't seem to be called. In a Windows Forms app, the event IS...
14
by: Me | last post by:
Hi all I am getting a really bizzare error on when I convert a string into a datetime: The code is : DateTime dt1 = Convert.ToDateTime("10 Sep 2005"); Console.WriteLine(dt1.Year);
5
by: Bill Nguyen | last post by:
I have a small VB app that I would like to install as a service in 1 of our Win 03 servers. Any suggestion is geatly appreciated. Bill
1
by: ybi10 | last post by:
Hi, We have a product implmented with .NET (C#) as an application, it is released as .exe file plus .dll files. Now we want to make it as webservices, i.e. to make some of it's methods as...
5
by: Rory Becker | last post by:
Having now created a Custom MembershipProvider that seems to work correctly with my Logon and ChangePassword controls, I am, as they say, a happy bunny. The next stange is to move on to the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.