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
 
Back
Top