I am SOOO new to VB and am actually on my first assignment and was hoping i could get some input on if Im on the right track with what i have so far...
the problem i have to solve is:
"The folder C:\Testyou may or may not exist. If it does exist, it may have one or more folders immediately beneath it. For each of those folders, if they contain text files, display the contents of all the text files to the user. If a folder contains no text files, display a message to the user indicating this. If there are no folders within C:\Testyou or C:\Testyou does not exist, again, display an error message."
so far, heres what I have:
If folder C:\Testyou does not exist then
create folder C:\Testyou
Else
If there are any subfolders in C:\Testyou then
Display all subfolders
Else
If there are no subfolders in C:\Testyou then
Display error message to user
Else
If there are any text files in C:\Testyou then
Display text files to user
Else
If there are no text files in C:\Testyou then
Display error message to user
Else
If the folder C:\Testyou does not exist then
Display error message to user
End if
I would so appreciate any help. This is an online class so I have limited contact with my instructor, although I have sent him the same email, and I just want to get it right!!!
Thanks in advance to anyone who can give me some input~!