Jump to content

Just_Alberto

Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by Just_Alberto

  1. No problem @Flood and Flood's wife Have a good day everybody!
  2. Hello, they’re going to fix it. A solution should be available by the end of the day. Alberto
  3. Hello Flood🐳+🐋 First off, thanks for your kind reply. I appreciate that! All right, got it. I tried to follow along your steps, but the problem seems to be there still, but it’s not a big deal since I can just start from scratch (the exercises that I’m doing are all quite simple). Yes, I think reporting it to the developers might be a good solution. I noticed though, that the reason why Kaspersky thought that my application was a trojan was because it was going into stack overflow! But it shouldn’t be Kaspersky’s matter if the application goes into stack overflow since Visual Studio is already letting me know about it. Thanks.I’ll let you know, hopefully this will get fixed right off the bath. Alberto
  4. Hello everybody, recently I’ve been getting a problem while trying to test out a simple program I’m working on. Basically, as soon as I hit the compile button on Visual Studio, Kaspersky detects it as a Trojan and I can’t test my app anymore. Here you can take a look at some data regarding the “Trojan”: Application Name: MSBuild.exe Application Path: C:\Program Files\Microsoft Visual Studio\2022Community\MSBuild\Current\Bin\amd64 Component: Anti-Virus File Result Description: Deleted Type: Trojan Name: HEUR:Backdoor.MSIL.Generic Accuracy: Heuristic Analysis Danger level: High And here you can take a look at my code, it is just supposed to verify an input from a textBox, that’s it: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ATM_TEST_3 { public partial class Form1 : Form { public Form1() { InitializeComponent(); textBox1.Text = textPass; textBox1.ForeColor = Color.Gray; } private string password = "PASS"; private string textPass = "Inserisci il codice utente"; private void button1_Click(object sender, EventArgs e) { Application.Exit(); } private void button1_MouseEnter(object sender, EventArgs e) { button1.BackColor = Color.Red; button1.ForeColor = Color.White; } private void button1_MouseLeave(object sender, EventArgs e) { button1.BackColor = Color.SteelBlue; button1.ForeColor = Color.Azure; } private void button2_Click(object sender, EventArgs e) { if (textBox1.Text == password) { MessageBox.Show("Password corretta!"); } else { MessageBox.Show("Password non corretta!"); textBox1.Text = textPass; textBox1.ForeColor = Color.Gray; textBox1.PasswordChar = '\0'; } if (textBox1.Text.Length == 0) { textBox1.Text = textPass; textBox1.ForeColor = Color.Gray; textBox1.PasswordChar = '\0'; } } private void textBox1_Enter(object sender, EventArgs e) { textBox1.Text = ""; textBox1.PasswordChar = '*'; } } } Please let me know.
×
×
  • Create New...