Solved

comctl.ocx problem

Posted on 1997-08-30
4
872 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
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

839 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