Google Answers Logo
View Question
 
Q: Problem writing a windows system service in Visual J# ( No Answer,   2 Comments )
Question  
Subject: Problem writing a windows system service in Visual J#
Category: Computers > Programming
Asked by: bigjosh2-ga
List Price: $35.00
Posted: 30 Jul 2005 13:29 PDT
Expires: 29 Aug 2005 13:29 PDT
Question ID: 549854
I am trying to write a windows system service using MS Visual J#
Express, but running into problems.

I can't find much J# documentation, but the VB documentation has a
class called System.ServiceProcess.ServiceBase that looks like what I
need.

Unfortunately, J# doesn't seem to know about this class. When I try to...

public class MyService extends System.ServiceProcess.ServiceBase 

...I get a compiler error...

Cannont find type 'System.ServiceProcess.ServiceBase'

So, what I am doing wrong? How can I get J# to know about this class
type? Is there a different way I should be writing a service in J#
Express Edition?

Thanks!
Answer  
There is no answer at this time.

Comments  
Subject: Re: Problem writing a windows system service in Visual J#
From: pmmbala1976-ga on 30 Jul 2005 17:31 PDT
 
Hi

Check out these links.

http://msdn2.microsoft.com/library/76477d2t(en-us,vs.80).aspx

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vjsyntax/html/vjlrfSystemServiceProcessServiceBaseClassMembersTopic.asp

http://www.dotnet247.com/247reference/msgs/6/34180.aspx

thanks
bala
Subject: Re: Problem writing a windows system service in Visual J#
From: bigjosh2-ga on 30 Jul 2005 18:28 PDT
 
All these links reference the System.ServiceProcess.ServiceBase class,
which is the class that I can't seem to be able to get J# Express to
recognize. Anytime I try to use that class, I get the "Cannont find
type" error.

Thanks,
josh

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy