473,795 Members | 2,924 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

accessing Windows Services help

I have an idea of using a Windows service as a middle tier. Clients will use this middle tier from a small VB application on pc to communicate with a DB server. The middle tier will expose public functions to read and write to the SQL server from the clients. I can’t find any information on how I would actually create public methods in a windows service that can be accessed by a client application. I created a new windows service application with .net 2003, but I have only onstartup, onstop etc. I wish to use this service like a COM object. How would one call a method in a Windows service? or pass parameters to a public function in the service to write values to an SQL server? I have seen this done with a purchased application, but I’m not sure how it was done. Thanks all
Nov 20 '05 #1
3 2322
Hi Eric,

We do also a lot of ADONET in this newsgroup. However now you are not
talking about the language but in my idea to the architecture wherefore you
better can have a lot of opinions.

I think that it is more a question for the newsgroup.

Adonet
<news://msnews.microsof t.com/microsoft.publi c.dotnet.framew ork.adonet>

Web interface:

<http://communities2.microsoft.com/co...s/?dg=microsof
t.public.dotnet .framework.adon et>
However maybe you get also your answers here.

Cor
Nov 20 '05 #2
What you are looking for is Remoting. This link should give you a starting
place:

http://msdn.microsoft.com/library/de...etremoting.asp
"Eric" <er************ *@kutakrock.com > wrote in message
news:9F******** *************** ***********@mic rosoft.com...
I have an idea of using a Windows service as a middle tier. Clients will

use this middle tier from a small VB application on pc to communicate with a
DB server. The middle tier will expose public functions to read and write to
the SQL server from the clients. I can't find any information on how I would
actually create public methods in a windows service that can be accessed by
a client application. I created a new windows service application with .net
2003, but I have only onstartup, onstop etc. I wish to use this service like
a COM object. How would one call a method in a Windows service? or pass
parameters to a public function in the service to write values to an SQL
server? I have seen this done with a purchased application, but I'm not sure
how it was done. Thanks all
Nov 20 '05 #3
Remoting is it ! thanks all
Nov 20 '05 #4

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

Similar topics

3
13670
by: PW | last post by:
Hi, I'm using WinXP-Pro, ASP classic, IIS 5.0. I regularly get this error, but I know I am the only user accessing the website at the time of the error. I looked it up on the MS support webiste. Their recommendation is this ... ------------------
6
3045
by: Bijesh | last post by:
Hi All, I've developed a Windows Service that acts as a remoting server (.NET Remoting). The client(user) is able to connect to the server and start a program by giving the executable path of the program (in the server) along with the working directory and the arguments (parameters). This works fine if I try to start programs whose executable file is present witin the local drives of the server. If the application is in a netwok drive,...
19
1536
by: Joseph MCAD | last post by:
April 5, 2005 Does anybody know how to access these newsgroups through a newsreader? I would prefer to use Outlook Express. If you know the name of the news server and any other configuration settings I need, I would Greatly appreciate it! A speedy response would be even more appreciated! Thanks! Joseph MCAD
7
7118
by: David Laub | last post by:
I've also posted this issue to a Sun/java formum, but since it appears to be an integration issue, this may be the better place to posr: I have written a dot net/c# Web Services doesn't fully work with J2ME client a) c# web service works with c# WIndows Client (local & remote web service) b) c# web service works with J2ME client - when the Web Service is local c) c# web service fails with J2ME client - when the Web Service is remote ...
3
5006
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : >************************************************************************ > <WebMethod(), System.Web.Services.Protocols.SoapRpcMethod()> _ > Public Function HelloWorld() As > <System.Xml.Serialization.SoapElementAttribute("return")> String
1
4971
by: vineet.jsl | last post by:
Hello Everybody, i am facing some problem in accessing secured web service. i have some experience with web services but not with Secured web services. Actually what i have to do is, first, i made a windows application to access a web service. its running fine. But later, the web service provider changed the web service into Secured web service. and they have given me a "echoserviceclient.cert" Certificate file. now i dont know what the...
5
3908
by: Mike | last post by:
I'm having trouble accessing SQL2005 Standard Edition as a second instance of SQL Server where the first instance is SQL 2000 Enterprise Edition. I installed SQL 2005 as a named instance "SQL2005". The server is running Windows 2000 SP4 ON A 32-Bit machine. When I look in Services I see the SQL Server (SQL2005), SQL Server Agent (SQL2005) services there. I went into SQL Server Configuration manager and disabled the named pipes protocol...
0
1567
by: amitda | last post by:
I am getting following error while trying to access sql server report manager: I saw an msdn article about similar issue, made sure c:\temp exists and pointed TMP and TEMP sys env var to that. Also made sure Temporary ASP.NET Files directory can be accessed by NETWORK SERVICE and ASPNET accounts. Still no luck. Anyone can suggest anything else???? Please help. Thanks
3
7757
by: Brad | last post by:
I'm setting up my new pc with all my VS.net projects and I'm missing something.....something I've done many times before without problem. I have several asp.net apps accessing secure .net web services (secure meaning windows authentication credentials must be used to access the web services). The problem is that when the web apps attempt to access a web service they are receiving 401: unathorized. - The apps are all running on web...
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10439
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7541
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.