Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Service stopping immediately
Message
De
01/09/2013 15:23:05
 
 
À
01/09/2013 00:04:42
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01581778
Message ID:
01581801
Vues:
36
This might seem a little bit simple but to make it work, I only had to change this:
            Dim loMain As Main = New Main
            'loMain.OnStart(toArgs)
            Run(loMain)
Then, the Run() will invoke the OnStart() event, which in turn can then activate the timer and all the rest because I am no longer in the Shared Main() event.

I will continue in that direction and will keep you informed if I discover something else.

BTW, this works with my account for the privileges to the Windows Service. And, this was a local share drive hosting the executable.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform