Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Source in event log
Message
De
18/08/2010 14:45:13
 
 
À
18/08/2010 13:49:25
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:
01477086
Message ID:
01477127
Vues:
33
>>Do you mean that you want your log entries to appear in one of the existing sources such as 'Application'? If so it's just a question of setting the EventLog.Source property. e.g:
 Dim el As EventLog = New EventLog()
>>        el.Source = "Application"
>>        el.WriteEntry("Oops")
>
>What I mean is this new section that appears, as shown in the attached image.

Ah. That's a Windows 7/Vista Event viewer (which supports an extensible tree of logs)?
I don't know. Just a guess : try setting the EventLog.Log="Applications and Services Logs" but I assume you would also have to create your own source.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform