I have a problem how to use the code below for the admin of the local remote computer. Typing ".", "" Or "computer name" as domain doesn't help. The omission results in a syntax error.
EventLogSession session = new EventLogSession(
"ComputerName", // Remote Computer
Hello i need help, i am new with C# could someone help me with executing second project Console application after clicking on button without this full way C:\Users\sajmo\source\repos\VoidSharp\VoidSharp ?
I've made my web app on Blazor server-side and I'm trying to publish it on a windows server. I tried different methods to publish but all came to the same conclusion.
HTTP Error 500.30 - ANCM In-Process Start Failure
Why am I having this problem? You can see the result on...
Sr Developer- C#, .NET, SQL, HTML, Java, Angular - REMOTE- 115K
Developing software solutions by analyzing business needs by users and data. Primary responsibility is to develop tightly aligned business strategy and capabilities as it relates to architecting and building...
Hi all. I am making a game like minecraft. I need to keep the world when the player exits the game. Chunk (it is a place 16 by 16 blocks) and world contain a lot datas, that don't serialize can. so i have created classes WorldData and ChunkData, that contain only serializable varibles. But i...
i have trying to read a database and display it into a datagridview but i keep getting the error
private void nameSearch()
using (SQLiteCommand cmd = connAccount.CreateCommand())
connAccount = new...
Hi, I have a problem drawing in a PictureBox.
To summarize and make an example: imagine you have to draw a rectangle at 0, 0 and it's 100x100 pixels; then you have to draw another rectangle 10x10 at the center (which should be at 45, 45 if i'm not mistaken) but the result shall be simply the...
Hi, Ich möchte meine eingegebene Werte in einem Konstruktor Speichern, und diesen dann je nach Nummer der Bestellung abfragen.
Das Problem: Ich habe bereits den Konstruktor angelegt, die eingegebenen Werte werden auch gespeichert und ich kann sie auch ausgeben.
Aber leider weiß ich nun nicht wie...
I'm looking for an algorithm to generate a safe random number like an OTP and I found this code on the web:
const int min = 100000;
const int max = 999999;
const int elemInRange = max - min + 1;
var randomData = new byte;
using var rng = new RNGCryptoServiceProvider()...
I'm a beginner c# programmer trying to program a simple app that shows a menu to the user. When option 1 is selected by the user at run-time, the program lists values from 0 to 100 Celsius degrees converted to Fahrenheit degrees. When option 2 is chosen, the program calculates and displays a...
I am a beginner in C# programming and trying to code a function that sums up all numbers from the start to the end and If the start number is greater than the end number, the function swap the values so that the start number becomes the end number and the end number gets the value of...
OK so two things going on here.
First I am getting this when the ListBox items gets added. "OK - System.Collections.Generic.List`1[System.String] - System.Collections.Generic.List`1[ClassLibraryApi.Report]"
Other times it loads nothing and this is the exception it pulls...
I make a WPF application in .Net Framework 4.7. I developed this application on my Laptop which has full HD resolution (1920*1080). My problem is when I run my application on a low resolution monitor (1366*768), my application don't scale up according to the screen resolution. I tried using Per...
I try to create attribute, which would validate a string format for parsing into DateTimeOffset.
Here is DateStringAttribute code:
public class DateStringAttribute : ValidationAttribute
public override bool IsValid(object value)
string date =...
I am making a discord bot using DSharpPlus. I want to make a command which will play music directly from youtube through a link. Can somebody help me with how I can make that, giving me tips, please?
I've created a list of instances of an object, to give sample data. I've then created a list of IGrouping, containing the objects. Within the foreach, I'm then trying to give an ordering number for the objects within their respective groups (this for each only assigns a value where the value...
Hello guys. My project is this: I will show historical events between 1720 and 1900 on the map and when an event is clicked, the map will take according to the future of that day. Whichever historical event they click on, the map will take shape according to that moment and I will list the...
Hi folks, is it possible to customize the results of the encryption text using this aes algorithm.
I have an encryption case how to do a conversion from string to digit string as an example
i want the ciphertext to be a string only...
Hey there) Was making very simple stock prediction app (Simple Colege Project). For feracast i used Microsoft ML Time Series Model. It worked good but i noticed when i make predictions for data with big values like 1700 or 3800 it makes very incorrect predictions. For instance if csv file has...