Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Event log only when in service
Message
De
16/02/1999 11:53:29
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Event log only when in service
Divers
Thread ID:
00188023
Message ID:
00188023
Vues:
67
I am debugging a Visual Basic application to fit our own needs. The source code was given to me from the other team. As we need to have this application to run as a service, they preferred to send the code to us so we can troubleshoot what is going on. The code is only 50 lines of code.

I found that the following line:

App.LogEvent APPLICATION_STARTED, vbLogEventTypeInformation

only logs an entry in the Event Viewer if the application is run as a service or from an EXE. If we run the application from Visual Basic, it does not log in the Event Viewer. Why?
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform