How to know when its done
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts
Page 1 of 1
Hello,
How can i do this code
when the scan has been ended.
How can i do this code
when the scan has been ended.
Code: Select all
i want to add a message with
numFiles = 0
Dim fileEntries As String() = Directory.GetFiles(targetDirectory)
' Process the list of files found in the directory.
Dim fileName As String
For Each fileName In fileEntries
numFiles += 1
ProcessFile(fileName)
Next fileName
Public Sub ProcessFile(ByVal path As String)
RichTextBox1.AppendText(path & vbNewLine)
??? no idea what to add :( to check the end of the scan
msgbox("the scan has been ended")
End Sub
Code: Select all
Thank youmsgbox("the scan has been ended")
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
In a rush but I think placing the "completed" code under..
Code: Select all
Should do it. I figure it should execute after all that :?Next Filename
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
Hello dear #codenstuff
well the point was to place it under this sub
thanks
well the point was to place it under this sub
Code: Select all
so how do i know the scan has ended ProcessFile

thanks
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023