- pada form tambahkan object commanddialog
(misal namanya = cd1)
- tulis code ini pada commanddialog
On Error GoTo ErrHandler
cd1.CancelError = True
cd1.Filter = "all files (*.*)|*.*| jpg files
|*.jpg|bmp files |*.bmp| ico files |*.ico| gif
files|*.gif"
cd1.ShowOpen
text1.text = Trim(cd1.FileName)
Exit Sub
ErrHandler:
MsgBox (Err.Number & Err.Description)
smg membantu.
--- Wayan Desemiartha <[EMAIL PROTECTED]>
wrote:
> Teman2 saya dapat kesulitan ketika ingin menampilkan
> lokasi file
> sprti cntoh C:\My document\Data.mdb pada textbook
> dengan membrows melalui fasilitas commondialog
>
> terima kasih
>
>
> ---------------------------------
> Do you Yahoo!?
> Read only the mail you want - Yahoo! Mail
SpamGuard.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hmctqpv/M=362131.6882499.7825260.1510227/D=groups/S=1705115364:TM/Y=YAHOO/EXP=1124686879/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->
Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmer-VB/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/