Solved

Mschart ocx in Windows 7

Posted on 2011-03-14
6
2,909 Views
Last Modified: 2012-05-11
I've loaded Visual Studio 6 w/VB6 on a 32 bit Win7 machine. I'm trying to run a program developed under XP. I cannot get the mschart.ocx to load:

Line 19: Property OleObjectBlob in MSChart1 could not be set.
Line 19: Cannot load control MSChart1; license not found.

I've tried all the fixes suggested without luck. The VB program complied under XP works fine on the Win7 machine.

Thoughts or suggestions?
0
Comment
Question by:dmajic7755
[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
  • 5
6 Comments
 
LVL 19

Expert Comment

by:Raheman M. Abdul
ID: 35129610
0
 
LVL 19

Expert Comment

by:Raheman M. Abdul
ID: 35129657
Option:
Try unregistering with  regsrv32.exe /u  and then re-register it

regsrv32.exe /u mschart.ocx
regsrv32.exe mschart.ocx
0
 
LVL 19

Expert Comment

by:Raheman M. Abdul
ID: 35129694
sorry   its regsvr32.exe

Command Prompt right click Run as administrator


C:\Windows\System32\regsvr32.exe mschart.ocx
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 19

Accepted Solution

by:
Raheman M. Abdul earned 500 total points
ID: 35129753
Refer: http://www.vbforums.com/showthread.php?t=584228

From the above reference :

     You might consider MSChrt20.ocx (the VB5/6 replacement for MSChart.ocx). For the others you'll need to find 3rd party controls, create a UserControl, or find other equivalent functionality elsewhere
0
 
LVL 19

Expert Comment

by:Raheman M. Abdul
ID: 35129779
Supported and unsupported statements in VB 6 under windows 7:

    http://msdn.microsoft.com/en-us/vbasic/ms788708.aspx
0
 

Author Closing Comment

by:dmajic7755
ID: 35129987
Replaced MSChart object on form and everything worked correctly. Thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

OfficeMate Freezes on login or does not load after login credentials are input.
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
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 Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…

733 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