Solved

how to create a windows service which can return values?

Posted on 2004-09-10
5
361 Views
Last Modified: 2011-10-03
how to create a windows service which can return values? or how we can call a module or function from a windows service?
0
Comment
Question by:ajay_3480
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Author Comment

by:ajay_3480
ID: 12024806
thanx in advance
0
 
LVL 1

Expert Comment

by:davee_jay
ID: 12026696
ajay_3480 - this is an incredibly broad question, please be more specific both about the environment (o/s), the programming platform (Visual Studio, .Net etc), the language (C#, VB, VB.Net) and finally give us an idea of the application you are thinking of.

DJ
0
 

Author Comment

by:ajay_3480
ID: 12041452
i am trying to make a web application in asp.net and vb.net, for intranet use, I have successfully prepared the application for security reasons I have have added some registration keys into the system (WiNDOWS 2000), now, I wand is to have a windows service to return those values from the file located in the windows system directory, how is it possible?
0
 
LVL 1

Accepted Solution

by:
davee_jay earned 125 total points
ID: 12041775
Thanks for the extra info.

I'm not sure that a windows service is what you need.  Typically a windows service is a process which has no direct user interface, and needs to run outside of any particular logon (although a user context can be given to a service to allow that service to run with certain permissions, locale settings etc.)

You may be aware that using impersonation it is possible to get the ASP.Net process or even just a single page to impersonate a different set of permissions to normal ASP.Net see:

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

Thoughts?

DJ
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an explanation of a simple data model to help parse a JSON feed
This is about my first experience with programming Arduino.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project

689 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question