Monday, March 30, 2009

Crystal Reports through Dataset

vconn = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Documents and Settings\GTB\My Documents\Visual Studio 2005\Projects\MyInstitute\Database1.mdf;Integrated Security=True;User Instance=True")
vconn.Open()
vadapter = New SqlDataAdapter("select * from students", vconn)
vdataset = New DataSet
vadapter.Fill(vdataset, "students")
vdatatable = vdataset.Tables("students")
Dim a As New CrystalReport1
a.Database.Tables(0).SetDataSource(vdataset)
CrystalReportViewer1.ReportSource = a

Monday, March 23, 2009

Photoshop CS4 Top Features

Vibrance is now in Photoshop CS4

Vibrance lets you add saturation to colors that are not strong in an image, while not ovesaturating colors that are strong. It also protects skin tones from over/under saturation. Take my word for it, It should just be called 'Awesome' on a slider."

Content Aware Resizing Is Here
This is another feature that is best experienced but is nothing short of revolutionary! Content Aware Resizing allows you to transform an image not by bending pixels, but removing pixel 'seams' of areas of information that is not important. The result - amazing changes to an image with something as simple as dragging the image.

The Adjustment Panels
As with any other version of Photoshop, there are many different ways to approach correction using Levels, Curves, Exposure and so on. There are so many ways, that I feel at times it makes it a little hard for someone who is just starting to get a grasp on corrections. Well not anymore. Photoshop CS4 has introduced The Adjustment Panel to help get you correcting as fast as possible.

You can now select all of your adjustments from within a panel, and Photoshop CS4 takes care of making the associated layers and maks for you. The corrections that are made are non destructive and sit in the Layers Panel. You can then go into those corrections and make more specialized changes, making your workflow even faster.

On-Screen Image Controls
Sometimes, we just dont want to experiment with sliders and curves and buttons to make a change. Sometimes we just want to point to a portion of an image and say "This part right here.. let's make it darker". On-Screen image controls make that method of correcting a reality. Clicking on the tool. you can then click on a specific portion of an image and move it up down, left, or right to see a change. On-Screen Image controls exist for Hue/Saturation, Curves, and Black and White

One Bold Move to 3D
In this version of Photoshop, 3D has taken a giant leap forward. You can now paint directly on 3D models, make 3D objects from 2D images, convert gradient shapes to objects, enchance text layers by giving them depth as well as export your creation to commonly used 3D formats