473,473 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1577

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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.