2014-01-05 45 views
0

即時通訊在VB 10中製作反病毒程序,但出現此錯誤「從字符串」刪除「轉換爲鍵入」長「無效。」 我不知道如何添加更多然後一個字像「病毒」和「刪除」我的繼承人代碼:出現此錯誤「從字符串」找到「轉換爲鍵入」長「無效。」

If TextBox1.Text.Contains("virus" Or "delete") Then MsgBox("Malicilouse file detected ", 
     MsgBoxStyle.Critical) Else 
    MsgBox("The file(s) are safe") 

可能有人請幫助我!

回答

3
If TextBox1.Text.Contains("virus") Or TextBox1.Text.Contains("delete") Then MsgBox("Malicilouse file detected ", 
    MsgBoxStyle.Critical) Else 
MsgBox("The file(s) are safe") 
+0

非常感謝 – TheRaspberryPiBoy

相關問題