Solved

Mschart ocx in Windows 7

Posted on 2011-03-14
6
2,861 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
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.

 
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

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

792 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