Nama commondialog = dlgBrowse
ini contoh sederhana:
Private Sub cmdBrowseLoc_Click()
dlgBrowse.Filter = ""
dlgBrowse.ShowOpen
txtLocation.Text = dlgBrowse.FileName
End Sub
dimodifikasi aja sesuai kebutuhan... diexplore aja dulu.
--- In [email protected], "Toni Rahayu" <[EMAIL PROTECTED]>
wrote:
>
>
>
> Hallo Robi,
> Coba pake componen Commond Dialog Control ( comdlg32.ocx ),
caranya? kamu coba
> saja dulu, kalo mentok boleh posting lagi.
>
> Rgds
>
>
>
>
>
> Robi Buana <[EMAIL PROTECTED]> on 12/22/2007 03:57:33 AM
>
> Please respond to [email protected]
>
> To: [email protected]
> cc: (bcc: Toni Rahayu/IT/domino_srv)
>
> Subject: [Programmer-VB] Membuka Sebuah File
>
>
>
> Dear para Jawara ...
> Saya sedang belajar VB niy..., saya mau tanya kalau
> kode u/ membuka salah satu file ( file apapun ) di salah satu
derektori
> gmn yah ?? please share donk codenya.
>
> maaf kalau sudah sering di ulas ya..
> thx a lot.
>
>
>
> ---------------------------------
> Never miss a thing. Make Yahoo your homepage.
>
>
>
>
>
>
>
> Toni Rahayu
> PT. Omedata Electronics
> IT Department
> Hunting : (62-22) 6030805 Ext 121
> Faxs : (62-22) 6030896
> Homepage : http://www.toni-rahayu.co.cc
>