Solved

NTSVC.ocx under Win nt 4 Service Pack 6

Posted on 2002-07-23
3
164 Views
Last Modified: 2008-02-01
Hi everyone ,
When i try to start my program as a service .. I run this command : 'simon.exe -install' i get the message
"The service was installed sucessfully"

When i try to run my .exe i get an Error 75 (error in path)
* the program doesn't find my .ini on the network.

But if i start my program without -install ( NO SERVICE )
my program works well and it has found the .ini on the network and loaded it.
What am I doing wrong??
0
Comment
Question by:WaLL
  • 2
3 Comments
 
LVL 20

Accepted Solution

by:
hes earned 200 total points
ID: 7172612
How do you have the service configured as ?
If you need access to the screen & keyboard, you must choose the LocalSystem account and click the "Allow Service to Interact with Desktop", otherwise choose any account and specify the correct logon password. Note that the LocalSystem account doesn't have network access.
A service can either have a GUI or network access not both.
0
 

Author Comment

by:WaLL
ID: 7172651
My program supervises points on a PI server and Pops up an Alarm form on the users' screens when these points are under or over the set Limit . The program will be on 20 computers, and therefore need network AND GUI access.
Is there any way to run this prog in SERVICE ?!
0
 
LVL 20

Expert Comment

by:hes
ID: 7172723
Try having the service do the monitoring and start another executable that does the networking
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

864 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now