Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Darkc0der Darkc0der is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 598
Rep Power: 15
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....,,,

</div>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Terkait
Thread Thread Starter Forum Replies Last Post
[Share] Convert &amp; open file .ps (Postscript). SiJampang1 Shareware & Freeware 0 24th October 2012 02:55 PM
[HELP!!] Could not open location 'file:///home/user A-salvo Linux & Open source community 0 24th November 2011 01:00 AM
&lt;ask&gt; open file myd, myi frm Darkc0der Programming 0 20th November 2011 08:57 AM
[ask]disable dialog box, open file/save as.? Braincode Programming 0 11th November 2011 01:25 PM
NEED HELP . unable to open include file &lt;stdio.h&gt; Braincode Programming 0 11th November 2011 01:06 PM

 


All times are GMT +7. The time now is 10:25 AM.