PC Review


Reply
Thread Tools Rate Thread

Communicating with a windows service

 
 
DotNetJunkies User
Guest
Posts: n/a
 
      2nd Aug 2004
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

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmFrb2IgQ2hyaXN0ZW5zZW4=?=
Guest
Posts: n/a
 
      2nd Aug 2004
You need to add a reference to the System.ServiceProcess.dll assembly.

"DotNetJunkies User" wrote:

> 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
>
> ---
> Posted using Wimdows.net NntpNews Component -
>
> Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Service communicating with Browser Windows? =?Utf-8?B?VG9tIFllZQ==?= Microsoft VC .NET 1 16th Sep 2006 09:08 PM
Windows Mobile app communicating with a Service =?Utf-8?B?ZGN1ZmZlZQ==?= Microsoft Dot NET Compact Framework 5 28th Nov 2005 04:13 PM
Communicating with a Windows Service from a Windows Application Mike Microsoft C# .NET 1 20th Aug 2004 07:27 PM
Communicating with a Windows Service =?Utf-8?B?a2V0dGNo?= Microsoft Dot NET Framework 6 19th Jul 2004 03:03 PM
Communicating with a Windows Service =?Utf-8?B?V2lsbWE=?= Microsoft Dot NET Framework 8 14th Jun 2004 11:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:49 PM.