Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim openfiledialog1 As New OpenFileDialog()
Dim rutaArchivo As String = ""
If openfiledialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
rutaArchivo = openfiledialog1.FileName()
MessageBox.Show(rutaArchivo)
End If
End Sub
No hay comentarios.:
Publicar un comentario