HI all

I am having a problem in connecting crystal report.
in local machine it is running correctly.
Public mApp As New CRAXDRT.Application
Public mRep As New CRAXDRT.Report
Public dbt As CRAXDRT.DatabaseTable
Public dbts As CRAXDRT.DatabaseTables
we are using this object CRAXDRT.. but it is not supporting to acess the other machine..
so we try to use
Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
Dim myLogin As CrystalDecisions.Shared.TableLogOnInfo
For Each myTable In Rport.Database.Tables
myLogin = myTable.LogOnInfo
myLogin.ConnectionInfo.ServerName = ServerName
myLogin.ConnectionInfo.DatabaseName = DatabaseName
myLogin.ConnectionInfo.Password = Password
myLogin.ConnectionInfo.UserID = UserName
myTable.ApplyLogOnInfo(myLogin)
Next
here the error is userdefined type not defined for the declaration statements..
that is
Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
Dim myLogin As CrystalDecisions.Shared.TableLogOnInfo
pls help us to solve this error..
help us..