This is how I Do it in Crystal Reports 6.0:

Connect = CrystalReport1.LogOnServer("dll","Server ip","dbname","UID","PWD")
CrystalReport1.ReportFileName = "Path and name of the Report"


hope that this helps. Good Luck

John