Results 1 to 3 of 3

Thread: Windows Services Q

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Windows Services Q

    Hi there

    I am writing a simple Windows Service.

    Basically I want to know, is it possible for a C# Windows App to call A METHOD in that service?

    for example, my service may have a method which returns back a string like "hello"

    When I have added that service in my Windows C# app, I cannot seem to find that method, even though I made it public so its accessible.

    How can I call a method on a Windows Service I have made from within a C# Windows app?

    Thanks!

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256

    Re: Windows Services Q

    In the Windows app, you have to reference the file that the method is in

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: Windows Services Q

    add reference? because I dragged and dropped the Windows Service onto the designer... and that wasnt able to see the methods

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width