Refer to constants

  • Thread starter Thread starter ReidarT
  • Start date Start date
R

ReidarT

I have two forms.One form is for settings.
In the settingsform I want to have the name of the source-file (folder and
file name) in a textfield and the target-file.
The purpose of the program is to copy the source-file to the target-file,
referring to the text in the two textfields in the settings form.
I amn not attached to any database. This is onlu a small program with one
exe-file and no installation.
reidarT
 
ReidarT said:
I have two forms.One form is for settings.
In the settingsform I want to have the name of the source-file (folder and
file name) in a textfield and the target-file.
The purpose of the program is to copy the source-file to the target-file,
referring to the text in the two textfields in the settings form.
I amn not attached to any database. This is onlu a small program with one
exe-file and no installation.

\\\
Dim f As New SettingsForm()
If f.ShowDialog() = DialogResult.OK Then
SourceFile = f.txtSourceFile.Text
TargetFile = f.txtTargetFile.Text
End If
f.Dispose()
....
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top