o-mheien@hdsoftware.no
Active member
- Joined
- Feb 6, 2007
- Messages
- 27
- Programming Experience
- 10+
Hi folks
I'm trying to utilize the Eventlog class but get warnings saying "Access of Shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated."
This is what I do, as explained in the help files
the warning is outlineing the "Eventlogger.SourceExists"
Hellp please. Have no clue what I'm doing wrong here.
Regards
Ole
I'm trying to utilize the Eventlog class but get warnings saying "Access of Shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated."
This is what I do, as explained in the help files
VB.NET:
Dim Eventlogger as new System.Diagnistics.EventLog
if Not Eventlogger.SourceExists("Some String") then
End if
Hellp please. Have no clue what I'm doing wrong here.
Regards
Ole