NT Service authored in Visual Basic 
Author Message
 NT Service authored in Visual Basic

greetings,
I am trying to build an application in vb which will run as a service on
NT4.  I have located several means by which to do this (namely, the SRVANY
and NTSVC.OCX).  Has anyone worked with these components before and if so,
which is recommended?

The nature of my service is sort of a like the NT Scheduler service. It will
obtain a list of key times and then wait for those times to occur, at which
point it invokes an activex application and executes a task (could i be any
more vague?). Anyhow, any pointers would be appreciated.
TIA
Dave



Sun, 11 May 2003 03:00:00 GMT  
 NT Service authored in Visual Basic
Hi Dave:

Quote:
> I am trying to build an application in vb which will run as a service on
> NT4.  I have located several means by which to do this (namely, the SRVANY
> and NTSVC.OCX).  Has anyone worked with these components before and if so,
> which is recommended?

I've never worked with any myself, but I do know that Desaware has a VB NT
Service Toolkit -- perhaps you may want to check that out (www.desaware.com)

Doug.



Sun, 11 May 2003 03:00:00 GMT  
 NT Service authored in Visual Basic
You would want to run the program as a service because it will then survive
a login/logout.  Basically, the program can then run without having to have
someone logged into the computer.

I've used SRVANY and it works great for me.  I've never experienced any
problems with it and it's very easy to use... just check the ntreskit
documentation.

Derek



Quote:
> Why not use the NT Task scheduler then?

> Kunle



> > greetings,
> > I am trying to build an application in vb which will run as a service on
> > NT4.  I have located several means by which to do this (namely, the
SRVANY
> > and NTSVC.OCX).  Has anyone worked with these components before and if
so,
> > which is recommended?

> > The nature of my service is sort of a like the NT Scheduler service. It
> will
> > obtain a list of key times and then wait for those times to occur, at
> which
> > point it invokes an activex application and executes a task (could i be
> any
> > more vague?). Anyhow, any pointers would be appreciated.
> > TIA
> > Dave



Sun, 11 May 2003 03:00:00 GMT  
 NT Service authored in Visual Basic
Why not use the NT Task scheduler then?

Kunle


Quote:
> greetings,
> I am trying to build an application in vb which will run as a service on
> NT4.  I have located several means by which to do this (namely, the SRVANY
> and NTSVC.OCX).  Has anyone worked with these components before and if so,
> which is recommended?

> The nature of my service is sort of a like the NT Scheduler service. It
will
> obtain a list of key times and then wait for those times to occur, at
which
> point it invokes an activex application and executes a task (could i be
any
> more vague?). Anyhow, any pointers would be appreciated.
> TIA
> Dave



Mon, 12 May 2003 08:05:08 GMT  
 NT Service authored in Visual Basic
NTSVC.OCX is my favorite.

It allows you to really control your application and respond to
Service_Start,Stop, Pause and Continue.

Keep in mind that you don't have access to printers or network connections
if you run a program as a service.

Good luck


Quote:
> greetings,
> I am trying to build an application in vb which will run as a service on
> NT4.  I have located several means by which to do this (namely, the SRVANY
> and NTSVC.OCX).  Has anyone worked with these components before and if so,
> which is recommended?

> The nature of my service is sort of a like the NT Scheduler service. It
will
> obtain a list of key times and then wait for those times to occur, at
which
> point it invokes an activex application and executes a task (could i be
any
> more vague?). Anyhow, any pointers would be appreciated.
> TIA
> Dave



Mon, 19 May 2003 03:00:00 GMT  
 NT Service authored in Visual Basic
Printers or network connections? First time I've heard that... maybe I
should tell my VB app / service that; since it worked fine for several years
printing automated production reports of data acquired from networked PLCs.
;-)

Works fine an my end. Perhaps you're service is trying to interact with the
desktop (?).

Chris Ross


Quote:
> NTSVC.OCX is my favorite.

> It allows you to really control your application and respond to
> Service_Start,Stop, Pause and Continue.

> Keep in mind that you don't have access to printers or network connections
> if you run a program as a service.

> Good luck



> > greetings,
> > I am trying to build an application in vb which will run as a service on
> > NT4.  I have located several means by which to do this (namely, the
SRVANY
> > and NTSVC.OCX).  Has anyone worked with these components before and if
so,
> > which is recommended?

> > The nature of my service is sort of a like the NT Scheduler service. It
> will
> > obtain a list of key times and then wait for those times to occur, at
> which
> > point it invokes an activex application and executes a task (could i be
> any
> > more vague?). Anyhow, any pointers would be appreciated.
> > TIA
> > Dave



Mon, 19 May 2003 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. NT Service authored in Visual Basic

2. NT Service: An OLE Control for Creating Windows NT Services in Visual Basic (MSDN article)

3. NT Service: An OLE Control for Creating Windows NT Services in Visual Basic (MSDN article)

4. NT Service: An OLE Control for Creating Windows NT Services in Visual Basic (MSDN article)

5. Writing a NT/W2K Service in Visual Basic

6. Implementing an NT Service in Visual Basic ?

7. NT System Service in Visual Basic

8. How to make a Windows nt/2000 Services in Visual Basic 6

9. Visual Basic Author Search

10. Seeking Visual Basic Author

11. Visual Basic Author Search

12. New knowledgebase site - looking for authors, articles or tips about Visual Basic

 

 
Powered by phpBB® Forum Software