NTSVC.OCX Help needed
From: Paul Bobrowski (nospam_at_msdiscussion.com)
Date: 10/20/04
- Next message: johnfli: "saving a record to sql"
- Previous message: umell: "Re: BLOCKDRIVER"
- Next in thread: Jeff Johnson [MVP: VB]: "Re: NTSVC.OCX Help needed"
- Reply: Jeff Johnson [MVP: VB]: "Re: NTSVC.OCX Help needed"
- Reply: Randy Birch: "Re: NTSVC.OCX Help needed"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: johnfli: "saving a record to sql"
- Previous message: umell: "Re: BLOCKDRIVER"
- Next in thread: Jeff Johnson [MVP: VB]: "Re: NTSVC.OCX Help needed"
- Reply: Jeff Johnson [MVP: VB]: "Re: NTSVC.OCX Help needed"
- Reply: Randy Birch: "Re: NTSVC.OCX Help needed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|