hi.
I'm trying to connect to SQL Server 2000 in Visual Basic by using a OLE DB Connection.
I supply the login credentials by using the following line of code:
Report.Database.LogOnServer "SQLOLEDB.DLL", "ServerName",
"Database", "user", "password"
I'm pretty sure SQLOLEDB.DLL is the dll for the SQL SErver OLE Connection.
But everytime I run my Visual Basic application, I get the following error :
"Fail to load database Information.
Details: The database DLL crdb_sqloledb.dll could not be loaded"
Can anyone tell me if I'm doing the connection right ? or is there something I'm missing ?
Thanks,
Hang
I'm trying to connect to SQL Server 2000 in Visual Basic by using a OLE DB Connection.
I supply the login credentials by using the following line of code:
Report.Database.LogOnServer "SQLOLEDB.DLL", "ServerName",
"Database", "user", "password"
I'm pretty sure SQLOLEDB.DLL is the dll for the SQL SErver OLE Connection.
But everytime I run my Visual Basic application, I get the following error :
"Fail to load database Information.
Details: The database DLL crdb_sqloledb.dll could not be loaded"
Can anyone tell me if I'm doing the connection right ? or is there something I'm missing ?
Thanks,
Hang