I have a sub :
Code:
Private Sub SSLoadDir(ByVal SSDirList As String)
Try
For Each SSFolderList As String In Directory.GetDirectories(SSDirList)
Dim SubFolderList As String = lstSSDir.Items.Add(SSFolderList)
Next
Catch ex As System.IO.IOException
MessageBox.Show("Unable To Read Disk!", "Scoresprite", MessageBoxButtons.OK, MessageBoxIcon.Error)
SSStartUp("C:\")
Catch ex2 As Exception
SSStartUp("C:\")
End Try
The prupose of which is to listall the directories into a listbox.
When I call this sub like :
and there's no floppy in the drive i get the windows No disk error, then mine. Isn't there a way to show only my error?