EventLog.CreateEventSource like Dominick suggested. Sometimes this is a
simple app. Another easy way to do it is to have an EventLogInstaller class
in your assembly and have the admin run InstallUtil.exe on your assembly.
That is generally enough to get this working. There are a variety of other
<dl> wrote in message news:eCQ9S1IeFHA.3864@TK2MSFTNGP10.phx.gbl...
> I'll try, meanwhile, can you tell me what have you don't? may be that's
> all
> I need?! what do you mean by "write strings and numbers for eventIDs"?
> TIA
>
> "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
> in message news:ehhabMHeFHA.584@TK2MSFTNGP15.phx.gbl...
>> You are asking the wrong guy (and probably the wrong newsgroup). I've
> never
>> gotten that deep into event log stuff. The most I've ever done is just
>> write strings and numbers for eventIDs and that has been all I've needed.
>>
>> Maybe one of the platform sdk groups?
>>
>> Joe K.
>>
>> <dl> wrote in message news:upfh4iGeFHA.3488@tk2msftngp13.phx.gbl...
>> > How can we use the standard message file or specifically the Category /
>> > eventID? Can we customize this standard message file?
>> > TIA
>> > "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com>
> wrote
>> > in message news:eUQZCgFeFHA.3616@TK2MSFTNGP09.phx.gbl...
>> >> The only thing I'm aware of is the MSDN platform SDK documentation.
>> >> As
> I
>> >> understand it, you need to use the message compiler to do it, but I've
>> > never
>> >> done it and have no experience with it.
>> >>
>> >> As I understand it, when you create an event source with .NET, you'll
> get
>> >> the standard .NET framework message file associated with it.
>> >>
>> >> Joe K.
>> >>
>> >> <dl> wrote in message news:%23IA5KVFeFHA.1356@TK2MSFTNGP10.phx.gbl...
>> >> > Is there any good reference in showing how to make my own message
> file
>> >> > (category / eventID)?
>> >> > TIA
>> >> >
>> >> > "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com>
>> > wrote
>> >> > in message news:%23yJDJXCeFHA.640@tk2msftngp13.phx.gbl...
>> >> >> There are a variety of ways, depending on how you want to do your
>> >> >> deployment. You might write a simple console app that does this
> that
>> > the
>> >> >> admin runs when they install your app. You can also be more fancy
> and
>> >> >> integrate this into a Windows installer package. Lots of options.
>> >> >>
>> >> >> Joe K.
>> >> >>
>> >> >> <dl> wrote in message
> news:%23vtWrtAeFHA.2700@tk2msftngp13.phx.gbl...
>> >> >> > Hi Joe / Dominick
>> >> >> > Sorry, I found it under 1.1. I just need to know how to do it in
>> >> >> > the
>> >> >> > deployment process?! This is my first .NET application!
>> >> >> >
>> >> >> > "Dominick Baier [DevelopMentor]"
>> > <dbaier@pleasepleasenospamdevelop.com>
>> >> >> > wrote in message
> news:512812632551441528877534@news.microsoft.com...
>> >> >> >> Hello dl,
>> >> >> >>
>> >> >> >> where did i mention 2.0 ??
>> >> >> >>
>> >> >> >> ---------------------------------------
>> >> >> >> Dominick Baier - DevelopMentor
>> >> >> >>
http://www.leastprivilege.com >> >> >> >>
>> >> >> >> > Hi Dominick
>> >> >> >> > I am still on 1.1, and will not be using 2.0 in the near
>> >> >> >> > future
>> >> >> >> > though!
>> >> >> >> > "Dominick Baier [DevelopMentor]"
>> >> >> >> > <dbaier@pleasepleasenospamdevelop.com> wrote in message
>> >> >> >> > news:511931632551368453514427@news.microsoft.com...
>> >> >> >> >
>> >> >> >> >> Hello dl,
>> >> >> >> >>
>> >> >> >> >> there is a EventLog.CreateEventSource() method. But you need
>> >> >> >> >>
>> >> >> >> > administrative
>> >> >> >> >
>> >> >> >> >> privs to create an Event Source - so it will likely not work
>> >> >> >> >> from
>> >> >> >> >> asp.net directly.
>> >> >> >> >>
>> >> >> >> >> ---------------------------------------
>> >> >> >> >> Dominick Baier - DevelopMentor
>> >> >> >> >>
http://www.leastprivilege.com >> >> >> >> >>> Hi
>> >> >> >> >>> Has anyone successfully created a custom event log from
> asp.net
>> > /
>> >> >> >> >>> simply
>> >> >> >> >>> editing the Reg?! Can you share how, please?!
>> >> >> >> >>> TIA
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
>