Services Programmed in Visual Basic

  • 19 years ago

    I'm looking in to writing an Application as a service using the Service OCX (want to use a one off ADO Connection and a few shell commands within the Service)

    For an example check out: -

    But whilst researching stumbled across this which infers that Services programmed from VB are not the most reliable implementation: -

    There are other products around that claim to offer similar promise to the OCX but don't mention how they compare eg ActivePlus's ServiceMILL: -

    Overall I've written something that does what I want it to do (!?!?!) but is this going to be robust?, does anyone know if I can "go on holiday for a month" and come back and the thing still be running?

    Cheers Guys


  • 19 years ago

    To be honest, I wouldn't trust VB... I've heard reports of too many problems!

    I would recommend writing the service in C++/VC++ or .NET.... However, if you have already written all of the code in VB, you might just want to put up with it... and see how reliable it actually is. Another possibility (and I don't know if this would work), would be to create a service in C++ or whatever, and then call a VB DLL... which has most of your existing code in it....

  • 19 years ago

    Thanks James
    That was the kind of answer I should have expected - I don't trust it either but from the purposes of RAD the service control is fantastic, but comes across as being too easy


Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“You can stand on the shoulders of giants OR a big enough pile of dwarfs, works either way.”