ActiveX EXE as a service...



As of today, I'm running a VB6 application which also
exposes a com-interface as a service under Win2000 AS.

I'm using an application called SrvAny to set up and
run my app as a system service.

I feel rather unconfortable with this solution, as the
behaviour is sometimes a little unstable.

Sometimes it is impossible to shut it down. And sometimes
it stops reacting. I've found no pattern to this behaviour.

VB (and my app) isn't excactly made for service development.

Question:
How (if possible) do I write my App so it can be installed
natively as a windows service, without resoring to "wrapper"
applications like SrvAny.exe?

Is it anything inherent in VB that can make the problems I
describe above?

The reason for running it as a service, is that it is a server
application that needs to be restarted after an eventual power-
failure, even if nobody is there to log in. (The start-folder,
and the "run" key in registry is only executed when someone
logs in).

Any thoughts or ideas?

and BTW... March 1. i need it to run flawlessly on Windows 2003
Server...

--
Dag.


.



Relevant Pages

  • Re: Homegrown synchronization
    ... to check for update files in the Import DropBox for the server. ... similar to the import code used to update a remote backend). ... code to close the "sync" app. ... synch app, but only one at a time would be able to do synchs. ...
    (microsoft.public.access.replication)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Ruby Enterprise App Design Advice
    ... Load balanced to send user to best server. ... FastCGI or SCGI - We would like to replace FastCGI with something ... certain instance and want to have a single session server (if I understand ... deals with login and logout and assigns an app server. ...
    (comp.lang.ruby)
  • RE: C++ Garbage Collector on VMS?
    ... And HW is usually not a problem in th app tier. ... One for App server, one for DB. ... Tiers were a great concept when HW could not keep up with the processing required by each tier and network speeds were slow and unreliable. ... In small to medium app environments, ...
    (comp.os.vms)
  • Re: Schannel and Session Renegotiation
    ... Schannel does not support the server sending app ... We are discussing the option of providing support for the client blowing off ...
    (microsoft.public.platformsdk.security)