VB as a windows 2000+ service? 
Author Message
 VB as a windows 2000+ service?

Is it possible to get a vb program to install itself as a windows 2000 (or
later) service?  I can't find anything relating to this!

TIA,
- Pete <><



Mon, 13 Sep 2004 20:25:00 GMT  
 VB as a windows 2000+ service?
Pete,

You'll need a new OCX to deal with all the Service-y stuff,
either ServiceMill.Ocx from Active+ (http://www.active+.com)
or NTSvc.Ocx from Our Friends in Redmond.

Then you just have to tweak your existing code to do the starting
and stopping stuff in the Events provided by the Control, remove
or replace any dialogs, MsgBox's and InputBox's and error trap
'til you're blue in the face.

Simple, really.

HTH,
    Phill  W.


Quote:
> Is it possible to get a vb program to install itself as a windows 2000
(or
> later) service?  I can't find anything relating to this!

> TIA,
> - Pete <><



Mon, 13 Sep 2004 20:48:55 GMT  
 VB as a windows 2000+ service?
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q170883

is just what the doctor ordered! I've used it for years ...

--
_________________
Franz Dullaart
TENET
021 686 6010
083 718 1946


Quote:
> Is it possible to get a vb program to install itself as a windows 2000 (or
> later) service?  I can't find anything relating to this!

> TIA,
> - Pete <><



Mon, 13 Sep 2004 20:53:48 GMT  
 VB as a windows 2000+ service?
My personal favorite... althought not at all free... is the Windows
Service Toolkit from Desaware. Goodness, but that's a sweet piece of
code!!!


Tue, 14 Sep 2004 02:52:08 GMT  
 VB as a windows 2000+ service?
Except - it's gone.
Quote:

> http://support.microsoft.com/default.aspx?scid=kb;EN-US;q170883

> is just what the doctor ordered! I've used it for years ...

> --
> _________________
> Franz Dullaart
> TENET
> 021 686 6010
> 083 718 1946



> > Is it possible to get a vb program to install itself as a windows 2000 (or
> > later) service?  I can't find anything relating to this!

> > TIA,
> > - Pete <><



Tue, 14 Sep 2004 12:16:14 GMT  
 VB as a windows 2000+ service?

Quote:
> Except - it's gone.

These links might still work, or try Googling on "NTSRV.OCX"

 URL:http://msdn.microsoft.com/library/en-us/dnolectrl/html/msdn_ntsrvocx.asp

 URL:http://support.microsoft.com/default.aspx?scid=kb;;q175948

Make the actual "service" as small as possible and break the "real"
functionality and any controlling GUI out into separate components.
That way, the "service" won't ever crash or hang, but if the "real"
workhorse ever does, the "service" can just restart it.

--
Joe Foster <mailto:jlfoster%40znet.com>  Wanna buy a Bridge? <http://xenu.net/>
WARNING: I cannot be held responsible for the above        They're   coming  to
because  my cats have  apparently  learned to type.        take me away, ha ha!



Tue, 14 Sep 2004 14:50:26 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Run VB application as Windows 2000 Services

2. look if a nt service is runnning (window 2000 server), in vb net

3. create vb application as a service in windows 2000

4. Word 2000 from within VB: Windows 2000: error, Windows ME: ok

5. (2nd posting)Adding ActiveX EXE to Windows 2000/XP Services

6. Adding ActiveX EXE to Windows 2000/XP Services

7. Unable to send faxes using Windows 2000 Faxing service

8. Error in Windows 2000 Components Services

9. Service before Windows 2000 user logon

10. Windows 2000 Service

11. VBEE app as service in Windows 2000 server?

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

 

 
Powered by phpBB® Forum Software