PDA

View Full Version : Crystal Report رو چجوری تو vc6 وارد کنم؟



c3d_lover
پنج شنبه 21 اردیبهشت 1385, 09:34 صبح
اقا بنا به احتیاج می بایست از Crystal Report برای گزارش گیری استفاده کنم تو pdf های همراه cd گفته که


On the Controls Tab of the Components dialog box, scroll through the list
of ActiveX controls until you find Crystal Report Viewer Control.
If you do not see the Crystal Report Viewer Control in the list, use the
Browse button to locate the CRVIEWER.DLL component in the
\Program Files\Common Files\Business
Objects\3.0\crystalreportviewers11\ActiveXControls
directory.
اما من تو این مسیر دوم رو هارد چیزی پیدا نمی کنم مشکل چیه و از کجاست؟ چجوری میتونم crystal رو اضافه کم.

علی کاکرودی
یک شنبه 05 شهریور 1385, 01:36 صبح
ابتدا کریستال ریپورت را نصب کن وسپس درVB6، از لیست COMMONENT ؛ CRYSTAL REPORT CONTROL را فعال کن و بر روی فرم قرار بده و کد زیر را در فرمی که میخواهی گزارش را فعال کنی بنویس
"آدرس فایل گزارش"= CrystalReport1.ReportFileName
CrystalReport1.RetrieveDataFiles
CrystalReport1.Destination = crptToWindow
CrystalReport1.WindowState = crptMaximized
CrystalReport1.Action = 0