Message
From
10/01/2017 12:00:16
Gregory Adam
Belgium
To
10/01/2017 08:31:45
Michel Fournier
Level Extreme Inc.
Petit-Rocher
,
New Brunswick
,
Canada
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Re:
Detect Event Viewer Keywords null value
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01646401
Message ID:
01646468
Views:
26
>>Seems EventLogRecord.Keywords is nullable
https://msdn.microsoft.com/en-us/library/system.diagnostics.eventing.reader.eventlogrecord.keywords(v=vs.110).aspx
>
>Yes, it does. The problem is how to detect when it is null so I can bypass and put 0 in my table field. Is Nothing and .HasValue cannot detect it.
Strange - but you've got a work- around with the try/catch
Gregory
Previous
Reply
Map
View the map of this thread
View the map of this thread starting from this message only
View
View all messages of this thread
View all messages of this thread starting from this message only