我把DBGrid控件放在窗体上时,谈出对话框“该部件的许可证信息没有找到。在设计环境中,没有合适的许可证使用该功能。“不知道是什么原因,请问那位大虾知道,帮帮小弟,谢谢!!!!

解决方案 »

  1.   

    这个不是第三方控件,你这样处理
    首先在开始--运行中 输入  regsvr32 -u "C:\WINNT\system32\msdatgrd.ocx" 把它反注册一下
    然后输入  regsvr32  "C:\WINNT\system32\msdatgrd.ocx" 注册
    如果还不行,就把vb完全卸载掉重装吧
      

  2.   

    网络上很多人问到这个使用权的问题,您得到的讯息可能是:「找不到此组件的使用权信息,您无法在设计环境中使用这项功能」。或「License information for this component not found. You do not have an appropriate license to use this functionality in the design environment. 」。会得到这个错误讯息的可能原因,是您可能先安装了控件的 run-time 版本,之后即使您再安装 VB5.0 或 VB6.0,仍旧无法 overwrite 这些 run-time 的控件。为什么您可能先安装了控件的 run-time 版本呢?因为您可能先安装过某些用 VB 开发的软件,它们含有控件的 run-time 版本,而且这些控件的 run-time 版本还高于您正在安装的 VB5 或 VB6 的开发版本!所以安装程序便因此误判,而没有再安装这些控件的 design-time 开发版本。可能情形一:如果发生问题的控件在以下所列清单中:( VB4 以后不提供支持 )AniBtn32.ocx 
    Gauge32.ocx 
    Graph32.ocx 
    Grid32.ocx 
    KeySta32.ocx 
    MSOutl32.ocx 
    Spin32.ocx 
    Threed32.ocx 您可以在光盘上找到 Vbctrls.reg,它可以升级这些控件的 design-time 开发版本,档案位置如下:Visual Basic 5.0 :在第一片光盘的 \Tools\Controls 目录下。
    Visual Basic 6.0 :在第一片光盘的 \Common\Tools\Vb\Controls 目录下。
    Visual Studio 6.0:在第三片光盘的 \Common\Tools\Vb\Controls 目录下。在 VB6 光盘的同一目录下还有二个注册程序用来处理 VB5 以后不提供支持的控件:Dbgrid.reg 
    Mschart.reg 至于 .reg 档案的执行方式为 regedit vbctrls.reg 即可看到一份登入成功的讯息,至于详细情形,您可以参考该目录下的 Readme.txt。注:您若要使用Graph 控件,除了需复制Graph32.ocx至\Windows95\System之外,连同Gsw32.EXE,Gswdll32.DLL也需复制到\Windows95\System中,您才能成功的使用Graph 控件。可能情形二:如果产生问题的控件不在 VB5.0 / 6.0 光盘片的 \Controls的 目录中,请先一 一unregister 产生问题的控件,如 regsvr32 /u COMCTL32.OCX,然后重新执行 VB5.0 / 6.0 的安装程序,”安装维护”的画面产生之后,请点选”重新安装”。若问题依然存在,请参考以下的解决方式。可能情形三:Visual Basic 5.0 :下载 VBC.exe。
    Visual Basic 6.0 :下载 VB6cli.exe。
    VBC.exe 可以解决以下错误讯息:时机 When trying to site a control within your project, you receive the following error message: 
    当您要将某一个控件放到您的项目中时 
    问题 License Information For This Component Not Found. You Do Not Have An
    Appropriate License To Use This Functionality In The Design Environment. 
    找不到此组件的使用权信息,您无法在设计环境中使用这项功能 
    时机 When trying to compile your project, you receive the following error:
    当您要 Compile 您的项目时 
    问题 Compile Error : Permission Denied 
    Compile Error : 拒绝存取 
    时机 When trying to run your project, you receive the following error:
    当您要执行您的项目时 
    问题 Runtime Error '429' : ActiveX Component Can't Create Object 
    Runtime Error '429' : ActiveX 组件不能建立对象或传回此对象的引用 VB6cli.exe 可以解决以下错误讯息:时机 When trying to site a control within a project, Microsoft Visual Basic raises the following error dialog: 
    当您要将某一个控件放到您的项目中时 
    问题 License Information For This Component Not Found. You Do Not Have An Appropriate License To Use This Functionality In The Design Environment. 
    找不到此组件的使用权信息,您无法在设计环境中使用这项功能 
    时机 When trying to compile a project, Microsoft Visual Basic raises the following error dialog: 
    当您要 Compile 您的项目时 
    问题 Compile Error : Permission Denied 
    Compile Error : 拒绝存取 
    时机 When using the Application Wizard, Microsoft Visual Basic raises an error dialog similar to:  
    问题 60: Method ~ of Object ~ failed  
    时机 When trying to run a project, Microsoft Visual Basic raises the following error dialog: 
    当您要执行您的项目时 
    问题 Runtime Error '429' : ActiveX Component Can't Create Object 
    Runtime Error '429' : ActiveX 组件不能建立对象或传回此对象的引用 如果上面三个方法都不能满足您的需求,那我只有建议您:直接找 Microsoft 吧!
      

  3.   

    dbgird在6.0里面已经是datagrid了,6不再支持dbgrid