open file dialog
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
OpenFileDialog1.ShowDialog() OpenFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocume nts OpenFileDialog1.Filter = "Text Files (*.txt)|*.txt|All Files (*.*)|*.*" Process.Start(Me.OpenFileDialog1.FileName()) End Sub gan,,, dari kode di atas ko' pas dialog'ya muncul trus di cancel/diclose ko' error ya.. kalo open nya sih udah lancar.. oh y 1 lg,,, pada file name ko' muncul'ya tulisan open file dialog.. mohon pencerahan'ya....,,,:tanya: </div> |
| All times are GMT +7. The time now is 01:40 PM. |