Below is the tutorial on how to use Crystal Report in Visual Studio 2008. The following sample is based on the Northwind SQL Server database (http://northwinddatabase.codeplex.com).

Before, we start with the report, you have to make sure that the data that need to be extracted are available. In order to do that, you have to create a DataSet.

Go to Data Sources windows, and click Add New Data Source. (Alternatively, within Visual Studio menu, find Data >> Add New Data Source)



The following window will appear:


Choose Database and click Next.

Click New Connection Button and the following windows will appear:

Pick Data source as Microsoft SQL Server Database File (SqlClient) and browse your mdf file (in this case, you need to locate your mdf file within your project i.e. Northwind.mdf). Click OK and then Next.


Click Yes (or No depends on how you would like your project to work with the database) if the above window appear and Next after the following window.


The following window will then appear:


You can either choose the specific tables or you can just tick All like the above image and then press the Finish button. Once done, the selected items will be appear in the Data Sources windows.

Then, within your project, from main menu in Visual Studio select PROJECT >> Add New Item. Add New Item dialogue will appear and select Crystal Reports from the dialogue box.


Select report type from the Crystal Reports gallery.


Accept the default settings and click OK.

Next step is to select the appropriate connection to your database. Since the dataset has been created, you need to pick the History >> Select the DataSet that has been created before. (You can also seeing the connection of the Dataset in Current Connection Folder or you can Create New Connection if there is no items available within History folder).


Pick the table that you want to use and click the >> button:


Click Next and pick the fields that you want.


Pick the group information (optional)
Record Selection (Optional)
Choose your report style.


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.


Now you want the report that have been created before loaded once the project is run. So, you need to put the following codes:

Imports CrystalDecisions.CrystalReports.Engine
Public Class Form1
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim rpt As New NorthwindDataSet
        Dim adp As New NorthwindDataSetTableAdapters.EmployeesTableAdapter
        Dim country As New NorthwindDataSet.EmployeesDataTable
        Dim cryRpt As New ReportDocument
        Dim ds As New DataSet()
        adp.Fill(country)
        ds.Tables.Add(country)
        Dim path As String = AppDomain.CurrentDomain.BaseDirectory
        Dim reportPath As String = path.Replace("\bin\Debug\", "\CrystalReport1.r
pt")
      
  cryRpt.Load(reportPath)
        cryRpt.SetDataSource(ds)
        CrystalReportViewer1.ReportSource = cryRpt
        CrystalReportViewer1.Refresh()
    End Sub
End Class

The Crystal Reports is in your project location, there you can see CrystalReport1.rpt

After you run the source code you will get the report like this.


Good Luck!


Read more...

URL is stand for Uniform Resource Locator: an address of a web page, ftp site, image, audio stream or other Internet resource, for example, “http://www.adiwidget.com/”.

Format of a URL:
Protocol://site address/path/filename

For example, the URL of adiwidget site is:
http://www.adiwidget.com/


and one example for the above image URL would be:
http://www.adiwidget.com/images/frame/cute_01.png

The above URL consist of:
* Protocol: http
* Host computer name: www
* Domain name: adiwidget
* Domain type: com
* Path: /images/frame/
* File name: cute_01.png

To copy the URL of an image is depend on your browser:

Mozilla Firefox
* Click on the image with the right mouse button.
* Choose Copy Image Location from the menu.



Internet Explorer 7.0

* Click on the desired picture with the right mouse button.
* Choose Copy Shortcut from the menu.



Safari and Opera

* Click on the desired image with the right mouse button (or holding down Ctrl while clicking with the left or only button).
* Select Copy Image Address from the menu.



Google Chrome

* Click on the desired image with the right mouse button
* Select Copy Image URL from the menu.



then... you can adiWidget™ generate code here


Read more...

This entry show you how you can unblock Facebook, Frienster and Other Social Websites that has been block by University, School or Office. What you need to do is just visit the site and enter URL that you want to go. i.e. http://www.facebook.com. Enjoy!

http://www.udge.info/
http://www.ulte.info/
http://www.twai.info/
http://www.fasterfive.info/
http://www.fasterseven.info/
http://www.mariogold.com/
http://unblockmyspace.ws/
http://www.cancer-ms.info/
http://66proxy.co.cc/
http://hideyourface.info/
http://www.greekproxy.info/
http://www.bobcool.info/
http://www.tech-bypass.info/
http://freewebproxy02.co.cc/
http://freewebproxy04.co.cc/
http://enterthere.info/
http://freewebproxy03.co.cc/
http://firef0x.info/
http://filtersarenofear.info/
http://clickmeproxy.co.uk/
http://eliteiphider.info/
http://applesproxy.co.uk/
http://www.tedsmith.info/
http://www.dragonproxy.co.cc/
http://chocolateicecream.info/
http://www.nagp.info/
http://www.112businesstore.info/
http://www.bypassproxy.biz/
http://freewebproxy01.co.cc/
http://www.yourin5.info/
http://www.moproxy.info/
http://www.mrshellman.com/
http://checkyourspace.info/
http://getpastit.info/
http://zhidenow.info/
http://www.aprilproxy2009.info/
http://www.surfunlocked.com/
http://www.teleproxy.net/
https://www.utopianpal.com/

Keywords:
How to Unblock Facebook
How to Unblock Friendster
How to Unblock MySpace
How to Unblock YouTube
How to Unblock Orkut
How to Unblock Multiply
How to Unblock GMail
How to Unblock Twitter
How to Unblock Xanga
How to Unblock Hotmail
How to Unblock Hi5
How to Unblock MSN
How to Unblock Yahoo
Free Web Proxy List

Source: http://proxy961.blogspot.com/


Read more...




1. Login to your blogger account.
2. Click on 'Layout'
3. Click on 'Edit HTML'
4. Add the following codes right after the < head> code:

<link href='http://www.photobucket.com/your_favicon.ico' rel='shortcut icon'/><link href='http://www.photobucket.com/your_favicon.ico' rel='icon'/>
Note: the 'http......ico' is the location [URL] of the favicon that you want to use. Change it! [Read More to see example]



5. Save your changes.
6. Done.

Below are some sample of favicons that you can use:
Afghanistan Flag Icon Afghanistan Greece Flag Icon Greece Netherlands Flag Icon Netherlands Somalian Flag Icon Somalia Argentina Flag Icon Argentina Hungary Flag Icon Hungary Nicaraguan Flag Icon Nicaragua Spanish Flag Icon Spain Belgium Flag Icon Belgium Iceland Flag Icon Iceland Niger Flag Icon Niger Sudanese Flag Icon Sudan Benin Flag Icon Benin India Flag Icon India Nigerian Flag Icon Nigeria Suriname Flag Icon Suriname Bulgaria Flag Icon Bulgaria Indonesia Flag Icon Indonesia Norwegian Flag Icon Norway Swedish Flag Icon Sweden Canada Flag Icon Canada Iraq Flag Icon Iraq Pakistani Flag Icon Pakistan The Flag of Switzerland Icon Switzerland Chad Flag Icon Chad Ireland Flag Icon Ireland Palestinian Flag Icon Palestine Taiwanese Flag Icon Taiwan Chile Flag Icon Chile Panamanian Flag Icon Panama Thai Flag Icon Thailand China Flag Icon China Italian Flag Icon Italy Peruvian Flag Icon Peru Tunisian Flag Icon Tunisia Columbia Flag Icon Columbia Japanese Flag Icon Japan Phillipino Flag Icon Philippines Turkish Flag Icon Turkey Costa Rica Flag Icon Costa Rica Korean Flag Icon Korea Polish Flag Icon Poland United Arab Emirates Flag Icon U.A.E. Denmark Flag Icon Denmark Kuwaiti Flag Icon Kuwait Puerto Rican Flag Icon Puerto Rico Ugandan Flag Icon Uganda Djibouti Flag Icon Djibouti Laotian Flag Icon Laos Qatar Flag Icon Qatar United Kingdom Flag Icon U.K. Dominican Republic Flag Icon Dominican Republic Latvian Flag Icon Latvia Romanian Flag Icon Romania Ukrainian Flag Icon Ukraine East Timor Flag Icon East Timor Lebanese Flag Icon Lebanon Russian Flag Icon Russia United Nations Flag Icon United Nations Estonia Flag Icon Estonia Libyan Flag Icon Libya Rwandan Flag Icon Rwanda The Flag of Uruguay Icon Uruguay Ethiopia Flag Icon Ethiopia Lithuanian Flag Icon Lithuania Samoan Flag Icon Samoa Flag of the United States of America Icon United States European Union Flag Icon E.U. Luxembourg Flag Icon Luxembourg Saudi Arabian Flag Icon Saudi Arabia Venezuela Flag Icon Venezuela Finland Flag Icon Finland Madagascar Flag Icon Madagascar Senegal Flag Icon Senegal Vietnamese Flag Icon Vietnam France Flag Icon France Malaysian Flag Icon Malaysia Sierra Leone Flag Icon Sierra Leone Yemeni Flag Icon Yemen Germany Flag Icon Germany Mexican Flag Icon Mexico Singaporean Flag Icon Singapore Yugoslavian Flag Icon Yugoslavia
<link href='http://adiwidget.com/favicon/flags/Mexicon.ico' rel='shortcut icon'/><link href='http://adiwidget.com/favicon/flags/Mexico.ico' rel='icon'/>
Change MEXICO to your preferred country!

OR create your own favicon here:
http://www.chami.com/html-kit/services/favicon/
http://tools.dynamicdrive.com/favicon/




Read more...

Recent Entries

Recent Comments

Recent Readers