Login to Website

Login dengan Facebook

 

Post Reply
Thread Tools
  #1  
Old 20th November 2011
Darkc0der
Ceriwiser
 
Join Date: Nov 2011
Posts: 598
Rep Power: 14
Darkc0der mempunyai hidup yang Normal
Default 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....,,,



Sponsored Links
Space available
Post Reply




Switch to Mobile Mode

no new posts