Solved

comctl.ocx problem

Posted on 1997-08-30
4
889 Views
Last Modified: 2006-11-17
I posted the following on usenet and received no reply, can someone help please....


I recently acquired VB4 and I am having the following problem....

When I try and include any of the comctl bits (slider etc) I get the
following error message...

"License information for this component not found. You do not have an
appropriate license to use this funtionality in the design
environment"

I thought these bits were standard windows95 controls so I assumed I
had them.  I certainly have comctl.ocx in \windows\system so what am I
missing (keep it clean)
tia

Ken
0
Comment
Question by:daimler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 50 total points
ID: 1432930
You should have installed a fully licensed comctl.ocx with your VB4 install.  However, in Windows nothing is perfect!  Try this, uninstall VB4, find and rename any comctl.ocx on system, reinstall VB4.  This should give you appropriate version.  If so, then delete old renamed versions of COMCTL.OCX and you're home free.
0
 
LVL 9

Expert Comment

by:cymbolic
ID: 1432931
P.S. the first version of VB4 was really buggy, mostly in all the new controls in ComCtl.  I hope you got the 4.0a version.  If not you'll be pulling your hair out over RDO and Treeview/ListView bugs!
0
 

Author Comment

by:daimler
ID: 1432932
Thanks for your suggestion.  I have tried it but without success. Perhaps the following
extra information will help pinpoint the problem.

1. There was no reference to Microsoft Visual Basic in the Add/Remove Programs dialogue box
   so I removed the VB directory/subdirs manualy and moved the OCX files to a safe location.

2. When I installed I got the following message towards the end of the install process....
   "VBCustom_Controls_Actions_Reg_graph was unable to register itself in the system registry"

   (This may have happened on the original install - I can't remember)


3. I checked the VB.ini file in c:\Windows and it has the following entry....
    "OCXRegister=0"

4. When I start up VB I get the error msg....
   "msrdc32.ocx could cot be loaded -- Continue Loading Project?"

5. The source of my VB4 cd could be said (politely) to be 'suspect'.

Should I give up now and try and obtain a less 'suspect' copy.  Everything works except the
extra windows95 controls.
Do I need to remove all references to these from the system registry? (which could be dangerous)    

I think that you will earn a lot of points if you can sort this out :-)

Cheers
0
 

Author Comment

by:daimler
ID: 1432933
I bought the official release CD of VB 4.0 and got exactly the
same installation problem. I solved it by getting a list of ALL
the 32-bit OCA, OCX and DLL files on the CD (directory:vb/system)
and removing them from my windows/system directory. VB4 then
installed OK and seems to be fully functional.

Thanks for your help.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question