Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

file detector help

hey guys I created a file detector how can i make it say file detected when the file is found?

Code
Public Class Form1

    Private Sub RichTextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged
        If Dir$("youtube.txt") = "" Then
            MsgBox("TXT File Not Found!!")
        End If
    End Sub
End Class
[code]
Either negate the condition or https://msdn.microsoft.com/en-us/library/752y8abs.aspx


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Legends] by itcorpSep 21, 2025 02:04 PM 8 694 Sep 21, 2025 02:04 PM
Last Post: itcorp
[.NET] by ac3n34d_XOct 3, 2018 09:17 AM 6 418 Oct 3, 2018 09:17 AM
Last Post: oxidebuffalo
[Shell] by JoshuTeeAug 19, 2016 07:05 AM 11 340 Aug 19, 2016 07:05 AM
Last Post: JoshuTee