?
Solved

NTSVC.ocx under Win nt 4 Service Pack 6

Posted on 2002-07-23
3
Medium Priority
?
173 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 600 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 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