473,320 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Regarding launching Event Viewer programmatically

Hi All,

My mmc snapin application written in c# logs all its events in custom event
source that we have created for this application.

When any error occurs the application also displays a message informing the
user about the error and also prompts him to check the event log for more
details.

User/admin can launch Event Viewer to see all the events logged in the app
specific event source.

Is it possible to programmatically launch the event viewer snapin (with
domain name as input) with a click of a button placed on the messagebox
mentioned above and select the exact event that was logged which caused the
messagebox display?

Any information will be highly appreciated.

Thanks.
Avinash

Jul 21 '05 #1
0 1568

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bragadiru | last post by:
I installed visual studio .net on my W2k workstation. Now, whenever I'm doing a search (F3) or run a particular application, the visual studio .NET installer is launching and I have to cancel it...
1
by: Tressa | last post by:
I have a Csharp windows service that currently uses socketing to communicate to additional PC's to shutdown or restart. I need to also have this service open up the Event Viewer and search for...
4
by: dvestal | last post by:
How can I launch a .NET executable (a windows app written in VB.NET) from within another .NET assembly, and be able to tell when the user receives control? I could just kick it off with...
5
by: Carlo Marchesoni | last post by:
From an aspx page (A.aspx) I open another one (B.aspx - for table lookup). When the user selects an entry in B.aspx I would like to force a button's event in A.aspx to be fired. I guess the only...
29
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
0
by: Avinash P. | last post by:
Hi All, My mmc snapin application written in c# logs all its events in custom event source that we have created for this application. When any error occurs the application also displays a...
3
by: Michael Moreno | last post by:
Hello, I am trying to automatically compile all my projects but I am stuck on something silly: launching csc with the right arguments. Here is my code private void CompileProject(string...
0
by: David St. Hilaire | last post by:
Hi, I'm having trouble creating a COM object in my ASP.NET Web Form. The COM object (IFoo) is in a DLL, but it creates another COM object (IBar) that is defined in an out-of-process COM server...
7
by: Lee Crabtree | last post by:
Is there some way to export an event log to a .evt file? I ask because what we're trying to set up is a really easy way for a user to email the contents of our event log back to us in the event of...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.