Communicating with a windows service

  • Thread starter Thread starter DotNetJunkies User
  • Start date Start date
D

DotNetJunkies User

I created and successfully installed a windows service so I want to import it so that I can reference it in my project.

I need to make us of the System.ServiceProcess, so I used the Imports System.ServiceProcess at the top of my Class file, but when building my project, a build error occurs:
Namespace or type 'ServiceProcess' for the Imports 'System.ServiceProcess' cannot be found.

Can somebody please give me hints to what causes the problem?

Pauline
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top