CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: goun

Search: Search took 0.01 seconds.

  1. Re: Many event sources fire events in my custom event log

    For everyone who might be interested, I found the solution.

    In the registry key of your custom event log (HKLM\System\CurrentControlSet\Services\EventLog\YourCustomEventLog), there is a File key....
  2. Printing events thrown by Printer Spooler in Event Viewer in Windows Server 2008 R2

    Hello!

    I want to make a program that gets all the events related to printing (events that printer spooler service probably throws).

    In Windows XP, there is no such problem since I got all...
  3. Re: .MC file and Event Viewer: Placeholders for Categories?

    Hello again,

    I just want to make myself a bit more clear:

    I use the ReportEvent function
    (http://msdn.microsoft.com/en-us/library/aa363679%28VS.85%29.aspx) in order
    to fire events in the...
  4. .MC file and Event Viewer: Placeholders for Categories?

    Hello,

    I am using MFC in order to throw events in a custom event log of the windows
    event viewer. I am using a .MC file where I store the Categories and the
    message definitions used for the...
  5. Many event sources fire events in my custom event log

    Hello,

    I have created a custom log named MYLOG and my application (MYAPP) fires events in it.
    The sources file contains "MYLOG,MYAPP" but I could see that more event sources fire events
    in...
  6. Replies
    7
    Views
    2,207

    Re: Add new event log without .NET framework

    Half of the problem solved!

    In order to see the new event log,just restart the Event Viewer software (sometimes I want to crash my head on the desk... :)

    But still the events coming from MyApp...
  7. Replies
    7
    Views
    2,207

    Re: Add new event log without .NET framework

    I have successfully created a key in the registry, named MyAppDiagnostics, under the tree:
    HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> Eventlog

    The MyAppDiagnostics...
  8. Replies
    7
    Views
    2,207

    Re: Add new event log without .NET framework

    Actually, I was not familiar with reg files but now I am ;)

    So, do I have to import this file in the windows registry using mfc functions?

    Thanks in advance!
  9. Replies
    7
    Views
    2,207

    Re: Add new event log without .NET framework

    Thank you for your fast response!

    Sorry,but can you give me some more details because I am amateur in this field.

    Regards!
  10. Replies
    7
    Views
    2,207

    Add new event log without .NET framework

    Hello,

    I want to create a new Event log to the windows service EventLog and add new logs to it.
    By default,the event logs are Application,System and Security but I want to
    add a new one.

    I...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured