打开VB程序时,每个*.frm窗体都产生一个*.log文件,显示加载错误。
打开一个其中*.log文件,显示是
Line 47: Class Threed.SSFrame of control panelcontour was not a loaded control class.
Line 118: Class Threed.SSCommand of control paintt was not a loaded control class.
Line 131: Class Threed.SSCommand of control showwell was not a loaded control class.
Line 145: Class Threed.SSFrame of control panelglobal was not a loaded control class.
Line 176: Class Threed.SSCheck of control fixing was not a loaded control class.
Line 198: Class Threed.SSCommand of control quitt was not a loaded control class.
Line 211: Class Threed.SSCommand of control fontstyle was not a loaded control class.
Line 226: Class Threed.SSCommand of control Command3D1 was not a loaded control class.
Line 239: Class Threed.SSCheck of control Check3D1 was not a loaded control class.
Line 260: Class Threed.SSCommand of control clearr was not a loaded control class.
Line 273: Class Threed.SSCommand of control interpolate was not a loaded control class.
Line 286: Class Threed.SSRibbon of control moving was not a loaded control class.
Line 302: Class Threed.SSFrame of control Panel3D was not a loaded control class.行 27: 不能加载控件 Panel3D10; 许可证未找到。
行 52: 不能加载控件 Panel3D7; 许可证未找到。
行 77: 不能加载控件 Command3D7; 许可证未找到。
行 90: 不能加载控件 Panel3D5; 许可证未找到。
行 115: 不能加载控件 Command3D5; 许可证未找到。
行 128: 不能加载控件 Panel3D3; 许可证未找到。
行 153: 不能加载控件 Command3D3; 许可证未找到。
行 166: 不能加载控件 Panel3D2; 许可证未找到。
行 191: 不能加载控件 Command3D2; 许可证未找到。
行 204: 不能加载控件 Panel3D6; 许可证未找到。
行 229: 不能加载控件 Command3D6; 许可证未找到。
行 243: 不能加载控件 Frame3D1; 许可证未找到。
行 262: 不能加载控件 Panel3D9; 许可证未找到。
行 287: 不能加载控件 Command3D4; 许可证未找到。不知道怎么办,还有就是工具栏中的SSFrame、SSCommand、SSPanel等控件不可用,没有找到许可信息。

解决方案 »

  1.   

    我还在程序中找到THREED32.OCX和SPIN32.OCX,把他们拷到系统目录C:\..\system32下,进行了注册,但是SSFrame、SSCommand、SSPanel控件还是不可用。很是郁闷。
      

  2.   


    这种情况是属于许可证问题,控件安装不完整!我记得 Visual FoxPro 5.0 就有这样的3D控件,先要安装一套完整的VF5.0,这样系统中的3D控件就可用了。再用打包程序比如SetupFactory7.01自动收集VB工程中用到的这些控件,这样打的包通过安装后,就可脱离VF5.0 而单独安装。
      

  3.   

    需要在工程中添加引用:
    1)打开工程,报错不管。
    2)菜单 Project\Components... ,在对话框中勾选相应组件,不知道是哪个可以通过 Browser 按钮选中 OCX。
    3)关闭 VB,在保存对话框中只选择工程进行保存。许可证问题通常需要对该组件进行安装。
      

  4.   

    要想正常使用这个软件,必须有三个文件dbgrid.reg,THREED32.reg,threed32.ocx。    现在我把reg中的代码贴出:   --------------------------dbgrid.reg----------------------------------------------REGEDIT
    HKEY_CLASSES_ROOT\Licenses = Licensing: Copying the keys may be a violation of established copyrights.// The DBGrid Control license follows:
    HKEY_CLASSES_ROOT\Licenses\556C75F1-EFBC-11CF-B9F3-00A0247033C4 =xybiedobrqsprbijaegcbislrsiucfjdhisl ------------------------ ----------------------- THREED32.reg          -------------------------------------REGEDIT
    HKEY_CLASSES_ROOT\Licenses   =   Licensing:   Copying   the   keys   may   be   a   violation   of   established   copyrights.
    //   The   16   bit   and   32-bit   OCX   Professional   license   follows:
    HKEY_CLASSES_ROOT\Licenses\DB4C0D00-400B-101B-A3C9-08002B2F49FB   =mgkgtgnnmnmninigthkgogggvmkhinjggnvm
    //   The   32   bit   OCX   Professional   license   follows:
    HKEY_CLASSES_ROOT\Licenses\7BC20EDC-4A42-101B-A3C9-08002B2F49FB   =gifblihbhiiihbciocfbkifbqcfcdiebbiqh
    //   threed   DB   key---------------- 准备工作做完之后1 把文件都放在System32下2 将信息写入注册表
      regsvr32 threed32.ocx3 添加部件 ----------------------------------------------------
      

  5.   

    我安装了一个 Visual FoxPro 6.0 ,控件可用了。