# Re: 请问vbx的license file是指什东东呢?

Posted by William Wong on August 25, 1997 at 02:42:26:

In Reply to: Re: 请问vbx的license file是指什东东呢? posted by 小吴 on August 24, 1997 at 17:29:24:

: 你应该是没有购买该 VBX 元件，因此你不能在 VB 发展模式下使用。所以你可能需要重新安装该元件或是找代理商看看能不能买到该套软体。

This is another example of how to solve your problem.....

Bcoz, I'm not using 16 bit vb, so I can't show you how to register VBX into registry...........

Under the VB 5.0 Installation CD.......

\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: