JOSHSKORN
12-06-2004, 04:45 PM
I have two forms. The program is this:
Form1: You type in the name of the file, click the COPY button and it copies the file from one specific location to another specific location. That works fine. I have a button on it called View List, which takes you to to Form2.
Form2: This form is a list of files available to copy (in a list box), which reads off of an Access Database. I have it set to be able to retrieve a specific file name that I select, shown in a message box. I want to be able to put this filename on a textbox in Form1.
In Short, when I go to Form2, I want to be able to select a filename and have it appear in Form1 after I close Form2. Note that Form1 never unloads or hides, it's the initial startup form. Form2 shows/hides when necessary.
In VB 6.0, this was very easy...but not in VB.NET.
Form1: You type in the name of the file, click the COPY button and it copies the file from one specific location to another specific location. That works fine. I have a button on it called View List, which takes you to to Form2.
Form2: This form is a list of files available to copy (in a list box), which reads off of an Access Database. I have it set to be able to retrieve a specific file name that I select, shown in a message box. I want to be able to put this filename on a textbox in Form1.
In Short, when I go to Form2, I want to be able to select a filename and have it appear in Form1 after I close Form2. Note that Form1 never unloads or hides, it's the initial startup form. Form2 shows/hides when necessary.
In VB 6.0, this was very easy...but not in VB.NET.