NTSVC.OCX Help needed

From: Paul Bobrowski (nospam_at_msdiscussion.com)
Date: 10/20/04


Date: Wed, 20 Oct 2004 18:00:02 -0400

I'm currently running a precompiled version of ntsvc.ocx along with the
sample application included in the archive. These will install and run fine
as an NT service under Windows 2000.

The problem I am having is that nothing I try to compile will start
correctly. All of the examples I have tried to create will compile, install
and uninstall just fine. The issue is that when I try to run the service,
it will start just fine; however, it will be closed about 30 seconds later
stating that the service timed out.

Here are two different error message I am getting:

Run from the Services applet

The <service display name> service failed to start due to the following
error: The service did not respond to the start or control request in a
timely fashion.

and ran from NET START

The service is not responding to the control function.

More help is available by typing NET HELPMSG 2186. -The help message just
says the the service control is responding.

I am using VB6sp6 on Windows 2000, are there any known issues with this
setup? I also downloaded a sample app from planetsourcecode:
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=14223&lngWId=1
and it will install/uninstall, but it dies when I try to run it.

This there something I'm missing? The sample app used a Private Sub
NTService1_Control(byVal Event as Long) I know in VB6 that event is now
reserved, but I can get it to compile. All the sample app did was read a
string along with the event variable into a statusbar control text display
area.

Can anyone offer some advice? I've spent two days on this now, and I have
yet to find a solution.

Thanks in advance for any help.

Paul Bobrowski



Relevant Pages

  • Re: Why your OpenGL screensavers no longer work...(Nvidia Driver-FC1)
    ... Honestly I really prefer to compile from source as I feel ... I have more control over the install, ... Registered Linux User #334533 ...
    (alt.os.linux.redhat)
  • Re: [SLE] gcc compiler 4.1
    ... Usually rpm files are pre-compiled. ... I won't have control on the source ... You just install the new RPMs, they will automatically install as gcc_4.1, etc. ... The thing you have to do is make sure you run gcc_4.1 when you want to compile. ...
    (SuSE)
  • Re: problem with installing new programs
    ... > extract and execute foo.tar.gz. ... I don't know how to control ... your home directory and the run configure and compile from there. ... The final "make install" will move everything to the right place. ...
    (comp.os.linux.development.apps)
  • Re: Compact SQL - Any CPU Build
    ... After the install, I confirmed the keys were created under ... our application can be installed on both of the x86 and x64 platform. ... But if we want to compile it as x64 version, ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.general)
  • Re: Tying in GEM-X10 into Napco Gemini 816 Alarm System Controller
    ... the preferred Napco controller for Home ... the panel itself. ... What specifically did your contractor install in the way of wiring ... There are some limitations as to what you can control on the Napco from the ...
    (comp.home.automation)

Loading