就是安装mdac2.7以下是Microsoft的解释,可参考: Visual Basic Scripting Edition Class doesn't support Automation You attempted to access a property or method of an object that does not support Automation. You can create and pass a pointer to an object that does not support Automation, but you cannot access its properties and methods.To correct this errorCheck the documentation of the application that created the object for limitations on the use of Automation with this class.Note The object may have been created using CreateObject, but it also may have been introduced by way of the host object model.
mdac在打包时不能自动打进来吗?这样好让软件在安装的时候把它需要的东西自动装上去!
如果这么作了
试试重新编译
编译前选中ActiveX工程属性中的“远程服务器选项”我觉得应该不是MDAC2.6的问题
MDAC2.6主要是用来访问SQL SERVER2000的
如果不用访问SQL2000的话一般不需要吧
而且即使用到的话,VB安装包没道理不包进去的
一般都是mdac的问题。
原因:没有支持数据库接口。
Visual Basic Scripting Edition Class doesn't support Automation
You attempted to access a property or method of an object that does not support Automation. You can create and pass a pointer to an object that does not support Automation, but you cannot access its properties and methods.To correct this errorCheck the documentation of the application that created the object for limitations on the use of Automation with this class.Note The object may have been created using CreateObject, but it also may have been introduced by way of the host object model.