Solved

comctl.ocx problem

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

810 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