Solved

how to create a windows service which can return values?

Posted on 2004-09-10
5
359 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 118
draw a Christmas tree by using a nested loop? 26 92
Using VBscript & RegEx, how can I match lines starting with Oracle word 17 93
asp Google Map 2 65
A short article about problems I had with the new location API and permissions in Marshmallow
This is about my first experience with programming Arduino.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

697 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