Solved

Mschart ocx in Windows 7

Posted on 2011-03-14
6
2,795 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
  • 5
6 Comments
 
LVL 18

Expert Comment

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

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 18

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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 18

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 18

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

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

Suggested Solutions

Title # Comments Views Activity
Win 7 - Devices and Printers folder doesn't populate 10 23
BSOD - MiniDump File 7 31
Clone OS to SSD 5 46
How to open a zip file 4 60
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
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…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

930 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

12 Experts available now in Live!

Get 1:1 Help Now