Solved

comctl.ocx problem

Posted on 1997-08-30
4
848 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now