我用的是win98第二版,安装程序是在win2000profession打包的?
这个错误是什么原因?

解决方案 »

  1.   

    最好在WIN98下打包,因为有些安装程序会自动根据你的当前使用的系统做一些优化,如果恰巧WIN98下不支持这些优化,那就会出问题.
      

  2.   

    如果是安装完后运行出错,并且确定不是你代码本身的问题,检查一下你是否缺什么文件,打包的时候没有打进去,例如DLL,OCX
      

  3.   

    你试着安装一下数据引水擎, mdac2.6
      

  4.   

    我没能自定义的类,在2000下能调试过去。我是用了.ocx这样的文件,在打包时我也看了,包进来了,并安装在了system下,这个文件是我从别的软件里找的,后来我把那个软件在98下装了一下再运行,就好了!数据引擎, mdac2.6我还没试,不知道是不是它的事。
    mdac在打包时不能自动打进来吗?这样好让软件在安装的时候把它需要的东西自动装上去!
      

  5.   

    你有没有使用自定义ActiveX DLL 或ActiveX EXE
    如果这么作了
    试试重新编译
    编译前选中ActiveX工程属性中的“远程服务器选项”我觉得应该不是MDAC2.6的问题
    MDAC2.6主要是用来访问SQL SERVER2000的
    如果不用访问SQL2000的话一般不需要吧
    而且即使用到的话,VB安装包没道理不包进去的
      

  6.   

    为什么我用的是mdac2.7   难道是假的吗
    一般都是mdac的问题。
    原因:没有支持数据库接口。
      

  7.   

    就是安装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.