Dear Guys,
I need your help nih,
Saya sudah selesai buat program convert laporan crystal report ke PDF,
Sewaktu sya buat setup-an buat user, Vb package nya error, sehingga saya
install manual dengan meng-copy file DLL dan OCX ke windows\system32
Masalahnya saya sedang bingung file apa saja yang dibutuhkan sewaktu untuk
konvert crystal reports ke PDF tsb, karena sewaktu program dijalankan ada error
"Missing old of date DLL".
Kalau saya lihat di "preferences", maka object yang dipakai :
-crystal reports viewer control
-crystal reports 8.5 ActiveX Designer Design and Runtime Library
-crystal reports 8.5 ActiveX Designer Run Time Library
-crystal reports 8.5 Library
Saya tampilkan script programmnya, please help
Dim crx As New CRAXDRT.Application
Set report1 = crx.OpenReport(App.Path & "\Debit Note.rpt", 1)
Crt.DataFiles(0) = App.Path & "\LocDB.mdb"
report1.DiscardSavedData
report1.ExportOptions.FormatType = crEFTPortableDocFormat
report1.ExportOptions.DestinationType = crEDTDiskFile
report1.ExportOptions.DiskFileName = App.Path & "\Invoice\" &
TxtBL.Text & ".pdf"
report1.Export False
MousePointer = vbHourglass
Thanks
Rgds/ Ridwan
____________________________________________________________________________________Choose
the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/