Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Accessing Vista log file "Microsoft-Windows-TaskScheduler/Operatio

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 02-16-2007   #1 (permalink)
Soumitra Banerjee
Guest


 

Accessing Vista log file "Microsoft-Windows-TaskScheduler/Operatio

Hi,

I am trying to access the log file at
"Microsoft-Windows-TaskScheduler/Operational" in vista using the following
code snippet:

EventLog el = new EventLog();


if
(EventLog.Exists(@"Microsoft-Windows-TaskScheduler/Operational"))
{
// doSomething
}

else
{
MessageBox.Show("not found");
return "";
}

However the code is failing to find the log file inspite of it being there.

Any thoughts on where I am wrong?

Thanks.
Regards,

Soumitra

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft accessing a computer through VISTA?? Iguana Vista security 7 02-22-2008 08:06 AM
Accessing File Network Sharing, Windows is Not Responding (At All).. Gunady Vista General 2 07-09-2007 12:45 AM
Windows Vista and "Search for File" in the Cookies Folder saqib ali Vista General 5 06-23-2006 08:24 AM
Windows Vista and "Search for File" in the Cookies Folder saqib ali Vista file management 5 06-23-2006 08:24 AM
vista setup: "failed to open windows image file" John Sudds Vista installation & setup 0 06-20-2006 10:53 PM


Update your Vista Drivers Update Your Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008