×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "block"; document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Search
Programming, development, testing
→
Windows Service (using C#)
→
Create folder "My Application" under folder "Application and Services logs" | Event Viewer
Looked at
2522
times
Create folder "My Application" under folder "Application and Services logs" | Event Viewer
last updated: 17 April 2023
Step 1. Let's check which folders are in Event Viewer
Step 2. Open PawerShell as an administrator and run the command to create a folder
My Application
New-EventLog -LogName "My Application" -Source "App1" -EA SilentlyContinue
Step 3. Close Event Viewer and run Event Viewer again
Let's see that the folder
My Application
has been created.
Note!
To delete the
My Application
folder, call the command:
Remove-EventLog -LogName "My Application" -EA SilentlyContinue
← Previous topic
C# Windows Service (.NET Framework) with the username. Event when user logs in/out of Windows
Next topic →
Create a new application C# Windows Service (library .NET Core and use Worker)
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Объявления
Объявления
Technology .NET Framework
•
Create a new application C# Windows Service (.NET Framework)
•
C# Windows Service (.NET Framework) with the username. Event when user logs in/out of Windows
•
Create folder "My Application" under folder "Application and Services logs" | Event Viewer
Technology .NET Core
•
Create a new application C# Windows Service (library .NET Core and use Worker)
•
Loading parameters from appsettings.json for application C# Windows Service (library .NET Core and using Worker)
•
How to open a Notepad app from C# Windows Service | library .NET Core and use Worker
•
Doing publish a project (compiling and assembling a project) "C# Windows Service" | library .NET Core using Worker
•
How to register your exe file as Windows Service. Start/stop your Windows Service on the system Windows | library .NET Core using Worker
Ваши вопросы присылайте по почте:
info@dir.by