Dear Andy,

 

O iya ada yang lupa, property CancelError diganti = TRUE

 

Semoga membantu

 

Best Regards,

 

Dhani Aristyawan, S.Kom.

EDP Supervisor PT. Trias Sentosa, Tbk.

Desa Keboharan KM 26

Krian - Sidoarjo

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Zazz
Sent: Thursday, September 07, 2006 12:41 PM
To: [email protected]
Subject: RE: [indoprog-vb] tanya commondialog

 

Makasih jawabanya. Aku udah coba, tapi kalo ditekan
tombol Save ataupun Cancel hasilnya akan sama aja.
Maksudku, properti apa untuk mendeteksi apakah tombol
Save atau tombol Cancel yang ditekan.

--- "Dhani Aristyawan (EDP)" <[EMAIL PROTECTED] <mailto:dhania%40trst.co.id>
co.id>
wrote:

> Dear Andy,
> 
> 
> 
> Coba syntax ini :
> 
> 
> 
> Private Sub Command1_Click()
> 
> On Error GoTo errDialog
> 
> cdlg.ShowSave
> 
> 
> 
> MsgBox "Nama File yang dipilih : " & cdlg.FileName
> 
> Exit Sub
> 
> TekanCancel:
> 
> MsgBox "Anda menekan tombol cancel"
> 
> Exit Sub
> 
> errDialog:
> 
> If Err.Number = 32755 Then
> 
> GoTo TekanCancel
> 
> End If
> 
> End Sub
> 
> 
> 
> Catatan : sediakan 1 tombol & 1 commondialog dengan
> Name = "CDlg" pada form
> 
> 
> 
> Semoga membantu
> 
> 
> 
> Best Regards,
> 
> 
> 
> Dhani Aristyawan, S.Kom.
> 
> EDP Supervisor PT. Trias Sentosa, Tbk.
> 
> Desa Keboharan KM 26
> 
> Krian - Sidoarjo
> 
> _____ 
> 
> From: indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com
> [mailto:indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com>
yahoogroups.com] On
> Behalf Of Andy Zazz
> Sent: Thursday, September 07, 2006 8:35 AM
> To: indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com
> Subject: [indoprog-vb] tanya commondialog
> 
> 
> 
> Aku pake CommonDialog pake showsave.
> Yang aku pengen tau, kalo mau deteksi tombol Save
> atau
> Cancel, pake apa sih..?
> Soalnya kalo diklik salah satunya (baik save maupun
> Cancel) sama aja hasilnya. Aku pengen beda'in kalo
> ditekan tombol save yang emang nyimpen, tapi kalo
> ditekan tobol cancel yang keluar dari dialogbox-nya.
> Makasih sebelumnya atas jawabannya..
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around 
> http://mail. <http://mail.>  <http://mail. <http://mail.yahoo.com>
yahoo.com> yahoo.com 
> 
> 
> 
> 
> 
> [Non-text portions of this message have been
> removed]
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail. <http://mail.yahoo.com> yahoo.com 

 



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/zCsqlB/TM
--------------------------------------------------------------------~-> 

Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]

Bagi terjangkit virus lokal, zip virus tersebut
dan kirim ke [EMAIL PROTECTED], kami
akan membuat removalnya untuk anda. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/indoprog-vb/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/indoprog-vb/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 


Kirim email ke