# Re: 请问有关"授权资料"

Posted by 呆呆 on December 26, 1997 at 01:31:41:

In Reply to: 请问有关 posted by 呆呆 on December 26, 1997 at 00:33:54:

: 您好, 请问一下您有没有遇过这样的问题.

: 我把以前在vb6写的程式migrating到vb6上, load时有error.

: 行号 171： 无法载入控制项 MonthBtn； 找不到授权资料。
: 行号 258： 无法载入控制项 YearBtn； 找不到授权资料。

: 出问题的是threed32.ocx, 在转换的过程中, 它并没有要我做升级的动作.
: 不知您知不知到这个授权资料是???

: (我的source在vb6(另一个HD)使用ok, 我也找过没有什么.lic的档案)

: 谢谢

谢谢, 我已经找到了, 原文照登...

\Tools\Controls

This directory contains all of the ActiveX Controls that shipped with Visual
Basic 4.0 Professional and Enterprise Editions, which are no longer shipping
with Visual Basic 5.0.

AniBtn32.ocx
Gauge32.ocx
Graph32.ocx
Gsw32.EXE
Gswdll32.DLL
Grid32.ocx
KeySta32.ocx
MSOutl32.ocx
Spin32.ocx
Threed32.ocx

The \Tools\Controls\BiDi directory contains a Bi-directional version of
Grid32.Ocx.

If you have Visual Basic 4.0 Professional or Enterprise Editions installed on
your machine, you should already have these ActiveX controls available to you in
Visual Basic 5.0.

Graph32.ocx has been updated to work properly in Visual Basic 5.0 and it
requires two additional support files: gsw32.exe and gswdll32.dll. You must
place the three files together in the \Windows\System directory or the control
will not function properly.

If you do not have these controls and wish to use these in Visual Basic 5.0, you
can install them by:

1. Copy all of the files in this directory to your \WINDOWS\SYSTEM directory.

2. Register the controls by either Browsing to them in Visual Basic itself, or
manually register them using RegSvr32.Exe. RegSvr32.EXE can be found in the
\Tools\RegistrationUtilities directory. The command line is:

regsvr32.exe grid32.ocx

3. Register the design time licenses for the controls. To do this, merge the
vbctrls.reg file found in this directory into your registry. You can merge this
file into your registry using RegEdit.Exe (Win95 or WinNT4) or RegEd32.Exe
(WinNT3.51):

regedit vbctrls.reg

Follow Ups:

- Re: 请问有关"授权资料" .. 老师.这边还有问题 austin 23:06:43 12/29/97 (1)
  - 是 RegOcx32 不是 RegSvr32 小吴 02:48:26 12/30/97 (0)
- 你问题解决了没有.. 小吴 01:47:38 12/26/97 (0)