OpenFileDialog1.Multiselect = True
OpenFileDialog1.Title = "Attach File"
OpenFileDialog1.Filter = "All Files|*.*"
If OpenFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
For Each fname As String In OpenFileDialog1.FileNames
lstattach.Items.Add(fname)
Next
End If
OpenFileDialog1.Title = "Attach File"
OpenFileDialog1.Filter = "All Files|*.*"
If OpenFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
For Each fname As String In OpenFileDialog1.FileNames
lstattach.Items.Add(fname)
Next
End If
No comments:
Post a Comment