|
-
Nov 14th, 2000, 02:18 AM
#1
Thread Starter
New Member
hi all,
i need u r help.
We developed an tcpserver program , which is an exe file. now we want run that exe as a ntservice.
Thx in advance.
sudhakar
-
Nov 15th, 2000, 02:23 PM
#2
Junior Member
It's possible via the NTService OCX provided by Microsoft. However, this OCX is **extremely** hard to find (you can't even find it on the MS site itself). I have used this OCX myself and it seems to work very well indeed, so I dunno why it's not more widely available.
You can check out this article:
http://vbwire.com/advanced/howto/service2.asp
And if you need the OCX, send me an email, I still have it.
-
Nov 16th, 2000, 08:55 AM
#3
PowerPoster
Hope this is what you looking for...
Code:
Private Sub Command1_Click()
With NTService1
.StartMode = svcStartAutomatic
.DisplayName = "My Service"
.ServiceName = "My Service"
.Install
End With
End Sub
Private Sub Command2_Click()
With NTService1
.ServiceName = "My Service"
.Uninstall
End With
End Sub
-
Nov 21st, 2000, 08:05 AM
#4
Control
Send me a email to [email protected] and i'll send you the control back (for NT- Service)
-
Nov 22nd, 2000, 08:37 AM
#5
Addicted Member
please help me <grovel>
would this OCX thing be able to change the password that the service tries to use.
Due to the energy crisis, the light at the end of the tunnel has been turned off.
Sorry for any inconvenience this may cause
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|