Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to create a windows service which can return values?

Posted on 2004-09-10
5
Medium Priority
?
363 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 250 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Six Sigma Control Plans

610 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