= how can I put the (browsed?) dll to listbox1?
) Try
OpenFileDialog1.ShowDialog()
TextBox1.Text = OpenFileDialog1.SelectedPath
Listbox1.items.add(Textbox1.text)
Catch ex As Exception
'Do Nothing
End Try
On Error Resume Next
OpenFileDialog1.ShowDialog()
Dim DLLF_Name
Dim FileNamex As String
FileNamex = OpenFileDialog1.FileName.Substring(OpenFileDialog2.FileName.LastIndexOf("\"))
DLLF_Name = FileNamex.Replace("\", "")
Me.ListBox1.Items.Add(DLLF_Name)
On Error Resume Next
Dim OpenFiledialog1 As New OpenFileDialog
With OpenFiledialog1
.Filter = "DLL's (*.dll)|*.dll"
.Title = "Please select a file..."
.CheckFileExists = True
.CheckPathExists = True
End With
If OpenFiledialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
ListBox1.Items.Add(OpenFiledialog1.FileName)
End If