Hi
I tried to create a custom event log for my application, and it seems to work with CreateEventSource method, the only problem is when I check the properties of the custom event log, all of these are shown as "not available"
Log Name: (full path)
Size
Create Date
Modified
Accessed
And all other properties in "Log Size" section (default is 512 and 7 days).
exist a way to set this properties
Thanks,
Mauricio.

create eventlog with properties
Leomath
satya999
to the properties of the event log.... if you go to event viewer and make right click->properties over an event log you'll see his properties (for example you can see the properties of "applicaton" log)
I'm using CreateEventSource method to create a new source and the new event log if it does not exist. No errors....
Thanks,
Mauricio.
SoMeDuDe
sorry, I did not say my environment... I'm working with windows XP SP1, framework 1.1 and I logged in with a user who has administrator rights.... in this environment the properties of the event log are not set...
BUT, If I run the same code to create an event log in a windows 2003 server logged in with "administrator" user it works fine, the event log is creating with all his properties.....
maybe the problem is a security issue, but why and what any ideas
thanks,
Mauricio.
Carl Peto