Start your first VB.NET Crystal Reports .
Crystal Report tidak lagi menjadi satu dalam installer package Visual Studio 2010, mungkin untuk awan seperti saya hal ini sangat terasa aneh, karena pada versi versi sebelumnya, Visual Studio 2003, 2005 dan Visual Studio 2008 Crystal Report masih setia menemani dalam installer package Visual Studio. Mas bro yang baca Postingan ini pasti tau apa fungsi software ini, software ini berfungsi untuk pembuatan laporan atau software untuk membantu para programers untuk melengkapi software yang di buatnya. Kalo saya software ini saya gunakan untuk membuat laporan software saya yang saya buat dari visual basic 6.0 agar lebih mudah dan menghemat.
All Crystal Reports programming samples in this tutorials is based on the following database (crystaldb) . Please take a look at the database structure before you start this tutorial - Click here to see Database Structure .
Open Visual Studio .NET and select a new Visual Basic .NET Project.
Create a new Crystal Reports for Product table from the above database crystalDB. The Product Table has three fields (Product_id,Product_name,Product_price) and we are showing the whole table data in the Crystal Reports.
![Crystal report untuk vb 6 2016 Crystal report untuk vb 6 2016](http://1.bp.blogspot.com/-J5h0nfFL4hQ/Uo7D8aguZyI/AAAAAAAAAQU/6R4xHZyR_9I/s1600/filter.bmp)
From main menu in Visual Studio select PROJECT-->Add New Item . Then Add New Item dialogue will appear and select Crystal Reports from the dialogue box.
Select Report type from Crystal Reports gallery.
Accept the default settings and click OK.
Next step is to select the appropriate connection to your database. Here we are going to select OLEDB connection for SQL Server
Select OLE DB (ADO) from Create New Connection.
Select Microsoft OLE DB Provider for SQL Server .
Next screen is the SQL Server authentication screen . Select your Sql Server name , enter userid , password and select your Database Name . Click next , Then the screen shows OLE DB Property values , leave it as it is , and click finish.
Then you will get your Server name under OLEDB Connection from there select database name (Crystaldb) and click the tables , then you can see all your tables from your database.
From the tables list select Product table to the right side list .
Click Next Button
Select all fields from Product table to the right side list.
Click Finish Button. Then you can see the Crystal Reports designer window . You can arrange the design according your requirements. Your screen look like the following picture.
Now the designing part is over and the next step is to call the created Crystal Reports in VB.NET through Crystal Reports Viewer control .
Select the default form (Form1.vb) you created in VB.NET and drag a button and CrystalReportViewer control to your form.
Select Form's source code view and put the code on top.
Put the following source code in the button click event
NOTES:
cryRpt.Load('PUT CRYSTAL REPORT PATH HERECrystalReport1.rpt')
The Crystal Reports is in your project location, there you can see CrystalReport1.rpt . So give the full path name of report here.
After you run the source code you will get the report like this.
Hope this tutorial help you to create your first Crystal Reports.
Apa itu Crystal Report Runtime ? merupakan kumpulan/paket library crystal report (core) yang berfungsi untuk menghandle agar aplikasi cristal report dapat berjalan (run). Semua bahasa pemrograman pasti mempunya runtime seperti VB6 = Msvbvm60.dll, VB.NET = NetFramework, Java = Java Runtime Environment dan lain sebagainya. jadi dengan menginstal runtime ini, anda tidak perlu menginstal software crystal report secara full, jadi hanya intinya saja (core) yang penting program/aplikasi anda dapat berjalan dengan baik. berikut ini saya sediakan link downloadnya untuk berbagai versi :
All Link Updated on 2014-12-05 (yy-mm-dd) !
1. Download Crystal Report Version 8.5 Runtime (For Visual Basic 6 Aplication)
2. Download Crystal Report Version 10 Runtime (For Visual Basic 6 Aplication)
1. Download Crystal Report Version 8.5 Runtime (For Visual Basic 6 Aplication)
2. Download Crystal Report Version 10 Runtime (For Visual Basic 6 Aplication)
![Crystal report untuk vb 6 2017 Crystal report untuk vb 6 2017](/uploads/1/2/5/7/125739882/624292190.jpg)
3. Download Crystal Report Version 11 Runtime (For Visual Basic 6 / Visual Studio NET Aplication)
4. Download Crystal Report Version 12 Runtime (For Visual Studio NET 2008 Aplication) 32bit,64bit
4. Download Crystal Report Version 12 Runtime (For Visual Studio NET 2008 Aplication) 32bit,64bit
5. Download Crystal Report Version 13 Runtime (For Visual Studio NET 2010 Aplication) 32bit, 64bit
6. Download Crystal Report Version 13.5 Runtime (For Visual Studio NET 2012 Aplication) 32bit, 64bit
6. Download Crystal Report Version 13.5 Runtime (For Visual Studio NET 2012 Aplication) 32bit, 64bit
Tags: