comctl32.ocx not loaded problem 
Author Message
 comctl32.ocx not loaded problem

Hi,

I'm extremely new to vb5 and i've had to take over an existing
project. My idea is to understand the project by stepping thru
the code, etc.

Well it won't compile, because vb reports that comctl32.ocx is
not loaded - the form is using a toolbar - and it burbs at the
following code line
  ToolbarPlay_ButtonClick(ByVal Button As ComctlLib.Button)
with the message
  Compile error: User defined type not defined.
which i suspect is due to the fact that it can't load comctl32.ocx.

Well comctl32.ocx is in Windows\system and it does exist in
the registry, etc. I noticed that the CLSID in the project vbp and
frm files was not the same as the CLSID for the toolbar in the
registry so I changed them - no luck.

I'm running W95, vb5 with SP3 installed. Any hints, suggestions?

ta -John



Wed, 14 Jun 2000 03:00:00 GMT  
 comctl32.ocx not loaded problem

John,

Try clicking start, run, and typing "regsvr32 comctl32.ocx".  This should
properly register the control with Windows, and your problem should go away.

Jack Nichols



Wed, 14 Jun 2000 03:00:00 GMT  
 comctl32.ocx not loaded problem

Thanks Jack,

i had done that. The problem really went away when i went to
project/components/controls
and added microsoft common controls 5.9 and 2.5. i told you i was new to
vb5.

Now the project compiles and runs, next step to figure out some really
terse code using
the de{*filter*}.

Ta -John

Quote:
>Jack Nichols
> Try clicking start, run, and typing "regsvr32 comctl32.ocx".  This should
> properly register the control with Windows, and your problem should go

away.


Wed, 14 Jun 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Problems Loading Comctl32.ocx and Comdlg32.ocx

2. Problems Loading Comctl32.ocx and Comdlg32.ocx

3. Transferring a VB5 project to another PC : COMCTL32.OCX could not be loaded

4. comctl32.ocx not loading

5. 'comctl32.ocx' could not be loaded

6. COMCTL32.OCX could not be loaded

7. comctl32.ocx could not be loaded

8. COMCTL32.OCX Could Not Be Loaded

9. Microsoft VB5 problem loading comctl32.ocx

10. COMCTL32.OCX PROBLEMS WHEN TRYING TO LOAD

11. comctl32.ocx cannot be loaded...continue loading project?

12. Cant load Comdlg32.ocx or comctl32.ocx

 

 
Powered by phpBB® Forum Software