I am producing a very simple application in VB.Net using VS 2017.
After I have added code to use a message box to get a user response, when I run the app Kaspersky Anti-Virus treats the application as Malware and deletes the '.exe' file.
Dim intResponse1 As Integer = MsgBox("Strip Metadata from selected image?" & vbCr & vbCr & "Warning this cannot be undone!", vbExclamation + vbYesNo, "Strip Metadata")
If I 'REM' the line of code associated with the msgbox it works okay?
This occurs when starting the app? Also the same happens in VS2015.
Has anyone else had this problem?
I am running WIN10x64 build 16299, Kaspersky 170.0.0.611. My VS 2017 is 15.5.6
Thanks