Create Custom Event Source by turing UAC ON in Windows VISTA
-
Hi, We have a WPF Windows Application and this application would be used by all our client having VISTA OS. For any error occured, system will create an entry in Application event log using the custom event source - "Application Manager". When the User Access Control (UAC) is turned ON, VISTA does not allow to register custom event source in the registry. But this works well when the UAC is turned OFF. Is there any way where in we can create a custom event source (on the fly/programatically) with UAC turned ON? Note: Our application gets installed using "Click Once".
Regards, Vipul Mehta
-
Hi, We have a WPF Windows Application and this application would be used by all our client having VISTA OS. For any error occured, system will create an entry in Application event log using the custom event source - "Application Manager". When the User Access Control (UAC) is turned ON, VISTA does not allow to register custom event source in the registry. But this works well when the UAC is turned OFF. Is there any way where in we can create a custom event source (on the fly/programatically) with UAC turned ON? Note: Our application gets installed using "Click Once".
Regards, Vipul Mehta
Unfortunately, your app needs to be running with elevated privileges to create a custom event log. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: