ok, but what if the file i want to copy is in a subdirectory. do i have to give the full path of the file? because i want this program to work if it is anywhere on the hard drive. also, what do i need to put if i want to copy it from the subdirectory to the program directory?
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...