why wont that work?Code:Dim file As String = OpenFileDialog1.ShowDialog()
Kill(file)
ListBox1.Items.Add(" File Del - " & file
Printable View
why wont that work?Code:Dim file As String = OpenFileDialog1.ShowDialog()
Kill(file)
ListBox1.Items.Add(" File Del - " & file
Dim file As String = OpenFileDialog1.ShowDialog()
Kill(file)
ListBox1.Items.Add(" File Del - " & file
1.Change the line
Dim file As String = OpenFileDialog1.ShowDialog()
to
Dim file As String = OpenFileDialog1.FileName.ToString
2 in the line
ListBox1.Items.Add(" File Del - " & file
add closing parenthesis
ListBox1.Items.Add(" File Del - " & file )
that bracket thing was just me being sloppy on the forum