Hard to tell what your problem is from this.
Assuming (correct me if I am wrong) you would like to access data on an SQL server from a VB project?
Very primitive example:
Import System.Data.SqlClient
Sub AccessDatabase
Dim oSQLConnection As New SqlConnection
Dim oSQLCommand As SqlCommand
Dim oSQLDataReader As SqlDataReader
oSQLConnection = New SqlConnection("Initial Catalog=Database; _
User ID=UserID ;Data Source=ServerName;Password=Password)
oSQLConnection.Open()
oSQLCommand = New SqlCommand("SELECT * FROM table", oSQLConnection)
oSQLDataReader = oSQLCommand.ExecuteReader
etc...
End Sub
Hope this helps but please provide more information if this is not what you needed to know.