VB4.0 won't register OCX's built with VC++4.0 
Author Message
 VB4.0 won't register OCX's built with VC++4.0

I used to be able to register an OCX by selecting it in the the Custom
Control dialog (Browse button) . Now, when trying to do that with an
OCX someone built with VC++ 4.0, I get the error "Cannot load the
control: xxxxx" (in Japanese:-). It works when I load a control built
with VC++2.0. It even works when I import the source code of the 2.0
OCX into VC++4.0. Just the projects built 100% in VC++4.0 don't work.

The setup program created with the VB setup wizard also fails to
register these controls with a similar unclear error message.

The controls in question register themselves withount any problems if
I use REGSVR32 or TestContainer. It even worked with the REGOCX32.EXE
found in the VB directory.

I suspect a bug in VB4.0. This occurs in both the Professional Edition
and Enterprise Edition.

Does anyone else have this problem? I can't distribute my controls
without making another setup program that launches regsvr32.exe.

Thanks in advance,

PS. I would also appreciate it if someone tells me if Visual Basic
supports the ISimpleFrame site, and if it does, why it won't display
CBUTTONS within an OCX in design time, and why I can't catch the
WM_BTNDOWN within the OCX code when Enable Simple Frame is set for the
OCX. Asked this Question several times but noone seems to know..

      _--_   _,                /////////////////////////////////
     /    '-'. )          ,,,  |       Yoshiyuki Tanaka        |
     | |[][]LLLLLLLLLLLLL]%%%  |      Fuji Xerox Co. Ltd.      |

      -__-' '-'                /////////////////////////////////

Mon, 02 Nov 1998 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. MSINET.OCX *still* won't register, and now IE4 won't install

2. Registering DLL's and OCX's in Win 3.1

3. Windows Media Player - MSDXM.OCX control won't register

4. MSINET.OCX won't Register on Installation

5. Netmanage - html.ocx won't register

6. ! msinet.ocx won't self register

7. msinet.ocx won't register

8. crystl16.ocx won't register

9. crystl32.ocx won't register

10. OCX won't register under 95 but will in 98/NT

11. VB4.0 32 bits - Setup won't register graphics

12. Custom control won't display and problems with building dll's


Powered by phpBB® Forum Software