Solved

Administrative power to an application

Posted on 1998-12-20
3
228 Views
Last Modified: 2010-05-03
I have developed a VB5 application, now I want to run the programme as a Windows-NT service so that the programme gets the administrative power irrespective of the fact that who is running the programme. The idea is that any user can access a data file which is only accessable to administrator through the programme.
0
Comment
Question by:kishor33
[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
3 Comments
 
LVL 3

Accepted Solution

by:
cognition earned 10 total points
ID: 1451527
There is a utility that MS supplies that will allow this.
Alternatively search the MS site for :
"An OLE Control for Creating Windows NT Services in Visual Basic"
and also the following article.

Q175948
0
 

Author Comment

by:kishor33
ID: 1451528
Your solution seems to be alright but from where i can get the NTService control.
0
 
LVL 3

Expert Comment

by:cognition
ID: 1451529
The control is provided as part of MSDN.
The second article includes code that will allow you to program the service in VB.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month7 days, 6 hours left to enroll

622 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