工程open事件内的代码:
//SQLCA.DBMS = "OR8 ORACLE 8.0"
//SQLCA.LogPass = "****"
//SQLCA.ServerName = "****"
//SQLCA.LogId = ""****"
//SQLCA.AutoCommit = False
//SQLCA.DBParm = "PBCatalogOwner="****""
//if SQLCA.sqlcode<>0 then
// messagebox("连接错误","无法连到数据库")
//end if
//SQLCA.DBMS = "OR8 ORACLE 8.0"
//SQLCA.LogPass = "****"
//SQLCA.ServerName = "****"
//SQLCA.LogId = ""****"
//SQLCA.AutoCommit = False
//SQLCA.DBParm = "PBCatalogOwner="****""
//if SQLCA.sqlcode<>0 then
// messagebox("连接错误","无法连到数据库")
//end if
没用过VB,不过看代码好像没什么问题,是要用"",而不是<>
// Profile shiye
SQLCA.DBMS = "O84 Oracle8/8i (8.x.4+)"
SQLCA.LogPass = <*******>
SQLCA.ServerName = "zhai"
SQLCA.LogId = "system"
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
测试通过。
manager密码
是不是用户身份错了?