VB程序加载错误,出现*.log文件

genboo 2010-02-10 01:47:37
打开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等控件不可用,没有找到许可信息。
...全文
3281 11 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
me4405801 2010-03-15
  • 打赏
  • 举报
回复
upup
guyehanxinlei 2010-02-12
  • 打赏
  • 举报
回复
少了什么东西吧,仔细检查一下.
jhone99 2010-02-11
  • 打赏
  • 举报
回复
要想正常使用这个软件,必须有三个文件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.ocx

3 添加部件



----------------------------------------------------

genboo 2010-02-11
  • 打赏
  • 举报
回复
我安装了一个 Visual FoxPro 6.0 ,控件可用了。
Tiger_Zhao 2010-02-10
  • 打赏
  • 举报
回复
需要在工程中添加引用:
1)打开工程,报错不管。
2)菜单 Project\Components... ,在对话框中勾选相应组件,不知道是哪个可以通过 Browser 按钮选中 OCX。
3)关闭 VB,在保存对话框中只选择工程进行保存。

许可证问题通常需要对该组件进行安装。
赵4老师 2010-02-10
  • 打赏
  • 举报
回复
“将开发环境完整打包,保证其几年后拆包时能继续开发。”
这是一个世界级难题!
东方之珠 2010-02-10
  • 打赏
  • 举报
回复
引用 2 楼 genboo 的回复:
我还在程序中找到THREED32.OCX和SPIN32.OCX,把他们拷到系统目录C:\..\system32下,进行了注册,但是SSFrame、SSCommand、SSPanel控件还是不可用。很是郁闷。


这种情况是属于许可证问题,控件安装不完整!我记得 Visual FoxPro 5.0 就有这样的3D控件,先要安装一套完整的VF5.0,这样系统中的3D控件就可用了。再用打包程序比如SetupFactory7.01自动收集VB工程中用到的这些控件,这样打的包通过安装后,就可脱离VF5.0 而单独安装。
东方之珠 2010-02-10
  • 打赏
  • 举报
回复
3D控件不存在,或未注册。
userlon 2010-02-10
  • 打赏
  • 举报
回复
窗体上所使用的控件不可用,可能需要注册。
genboo 2010-02-10
  • 打赏
  • 举报
回复
我还在程序中找到THREED32.OCX和SPIN32.OCX,把他们拷到系统目录C:\..\system32下,进行了注册,但是SSFrame、SSCommand、SSPanel控件还是不可用。很是郁闷。
patrick_kong 2010-02-10
  • 打赏
  • 举报
回复
控件丢失会被un注册了。

1,453

社区成员

发帖
与我相关
我的任务
社区描述
VB 控件
社区管理员
  • 控件
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧