?
Solved

Removing a charting control

Posted on 2005-05-12
11
Medium Priority
?
230 Views
Last Modified: 2008-03-17
I have a VB6 application that was created with Olectra chart.  For some reason, under Win 2K, it will no longer compile, and I cannot figure out how to remove the control.  I have re-installed the 32-bit application (v5.02), and tried to remove every reference to the control that I can find, but VB will not allow me to remove the control from the project.  How do I get rid of this thing, or get it to allow me to compile the application with it included in the project?
I have registered the control using regsvr32, but that does no good.
0
Comment
Question by:mwielgus
10 Comments
 
LVL 1

Expert Comment

by:wuerzi
ID: 13987741
1. Save all your files!!!
2. open your project-file with notepad or an other editor
3. drop the line 'Object=...' which ends with the *FileName* of your Chart-Control
4. Save and close file
5. Open the project with VB
6. You will get an error, if you open a form or conrol, wich still have a reference to the chart-control
7. VB converts this old chart-control to a picturebox
0
 

Author Comment

by:mwielgus
ID: 13987962
I still get the Microsoft Visual Basic error message "License information for this component not found.  You do not have an appropriate license to use this functionality in the design environment" and the chart control is the only non-MS control that is used.  I know that I have a license to use the chart control.
0
 
LVL 16

Expert Comment

by:jimbobmcgee
ID: 13988019
Did you develop the app on a different box?  If so, that is the box with the license.

J.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:mwielgus
ID: 13988595
I don't understand.  I did build the software on a different box, but that was a different one from the one that was used to create the original software.  I re-installed the control on my current desktop.  Why doesn't that make the license valid?
0
 
LVL 16

Expert Comment

by:jimbobmcgee
ID: 13995028
Depends what the registration process was like.  If it was just a case of tapping in a serial, then it should be fine, but if the process then connected to the Internet and checked that serial against an online record, it might not like the use of the control on more than one registered machine, or maybe each serial only allows a certain no of registrations.

Either that, or maybe the control is corrupt, or is missing some dependancies...

J.
0
 

Author Comment

by:mwielgus
ID: 13995344
I found an article in the Microsoft Knowledge Base that recommends installing the latest service pack for VB 6.  The problem is caused, according to MS, by installing an app that contains a control, then installing VB 6, and trying to do development using that control.  This is what happened to me.  If the service pack works, then I will recommend closing this question.
0
 

Author Comment

by:mwielgus
ID: 14009319
MS Knowledge Base article 177799 recommends running vbctrls.reg from the Visual Studio or VB6 installation CDs.  I did this, and no longer have the problem.  I recommend deleting this question.
0
 
LVL 16

Expert Comment

by:jimbobmcgee
ID: 14010202
I reckon this should be PAQ'd for anyone else who may experience this issue.  Post a request in CS.

J.
0
 
LVL 16

Expert Comment

by:jimbobmcgee
ID: 14019209
Fine by me.
0
 

Accepted Solution

by:
PAQ_Man earned 0 total points
ID: 14057588
Question Closed, 250 points refunded.
PAQ_Man
Community Support Moderator
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

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…
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 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…
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…
Suggested Courses

864 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