Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect Event Viewer Keywords null value
Message
De
08/01/2017 16:47:26
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Detect Event Viewer Keywords null value
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01646401
Message ID:
01646401
Vues:
44
When you have something like this:
' Cast the EventRecord object as an EventLogRecord object to access the EventLogRecord class properties
loEventLogRecord = CType(loEventRecord, EventLogRecord)
...the following won't work to detect if we have a null value:
' If we have the object
If Not loEventRecord.Keywords Is Nothing Then
   loInsertRow.ParameterAdd("Keyword", loEventRecord.Keywords)
End If
Anyone would have a recommendation on a workaround?
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