Solved

NTSVC.ocx under Win nt 4 Service Pack 6

Posted on 2002-07-23
3
170 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
[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 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

733 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