
Help: Creating a reference to OCX hangs VB and makes OCX unuseable
You shouldn't need the .TLB but you will need to have all the required
support DLL's. In addition, they, just like the OCX, will need to be
registered properlly if they are OLE DLL's.
The installation routine for the OCX should be taking care of all of this,
but if not you might try using "(regsvr32 Location)\regsvr32 (Full Path to
OCX)". On Windows 95 regsvr32 is in the \Windows\system directory usually,
and on WinNT it is in the \WinNT\System32 directory. The end result is that
you may get something like:
C:\WinNT\Systems32\regsvr32 c:\winnt\system32\control.ocx
Running that is the best way to register OCX's that I know of. I find
regsvr32 so useful that I always add it to my send to list so that I can
just right-click on an ocx and send it to regsvr32 to register it.
Hope this helps,
Peter Stambaugh