|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Service in visual basic 6?!
is it possible to write a service in visual basic 6?
if yes then how? thanks in advance Peleg |
|
#2
|
|||
|
|||
|
yeah it is...I used a program called Service Master to make services out of EXE's
.... also you might want do use the sleep function so that your program does not use all the resources... example that check for new messages in msmq: Public Declare Function Sleep& Lib "Kernel32" (ByVal SleepTime&) Set queueOrder = qinfo.Open(MQ_RECEIVE_ACCESS, MQ_DENY_NONE) Set queuesend = qinfo.Open(MQ_SEND_ACCESS, MQ_DENY_NONE) queueOrder.EnableNotification evtQueue Do ' check for arrived messages every 0.5 seconds modMain.Sleep (500) DoEvents Loop '<-- |
|
#3
|
|||
|
|||
|
but is this a real service
or just an exe that run's all the time?
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Service in visual basic 6?! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|