Solved

NTSVC.ocx under Win nt 4 Service Pack 6

Posted on 2002-07-23
3
161 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
Comment Utility
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
Comment Utility
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
Comment Utility
Try having the service do the monitoring and start another executable that does the networking
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

771 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

10 Experts available now in Live!

Get 1:1 Help Now