Solved

Mschart ocx in Windows 7

Posted on 2011-03-14
6
2,834 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 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
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.

823 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