|
-
Aug 28th, 2002, 09:02 AM
#1
Thread Starter
Hyperactive Member
Passing data to a Windows service?
Is it possible to pass data to a Windows service?
For example, I want to create a service that run an event at a specified interval, however I want to be able to externally control that interval. Can I write another Windows application that will communicate directly with the service?
Thanks!!
-
Aug 28th, 2002, 09:09 AM
#2
hmm..good question..You actually should be able to. If you have a Shared/Static class, you should be able to instantiate the class of the running service. But I am just guessing , but that sounds possible.
-
Aug 29th, 2002, 06:03 AM
#3
Member
maybe this is a solution
I don't know exactly what you mean, but if you are talking about a function instead of an instance, you could put your code in a public shared function which can be called witihin your app from anywhere...
To pass data itself you could try making a seperate class and dim it with ByRef.
Dozo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|