make sure you got SQLBASEOLEDB 1.0 in your reference, then type this code :
Dim objSQLBaseServer As SQLBASEOLEDBServer
Set objSQLBaseServer = New SQLBASEOLEDBServer
Dim strServer As String
Dim strPwd As String
Can anyone tell me if there are any more details to this ?
Im running SQLBase 7.5.1 and VB6 with the connection details specified above, but it doesnt connect. I have the SQLOLEDB 1.0 Reference set in VB and Im using my own server and password which work fine in the Windows ODBC Administrator test applet. The error I am getting is "Run-time error -2147467259(8000040005) Method 'ConnectServer' of object 'ISQLBASEOLEDBServer' failed." What else can I check?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.