Mschart ocx in Windows 7

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?
dmajic7755Asked:
Who is Participating?
 
Raheman M. AbdulConnect With a Mentor Senior Infrastructure Support Analyst & Systems DeveloperCommented:
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
 
Raheman M. AbdulSenior Infrastructure Support Analyst & Systems DeveloperCommented:
0
 
Raheman M. AbdulSenior Infrastructure Support Analyst & Systems DeveloperCommented:
Option:
Try unregistering with  regsrv32.exe /u  and then re-register it

regsrv32.exe /u mschart.ocx
regsrv32.exe mschart.ocx
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Raheman M. AbdulSenior Infrastructure Support Analyst & Systems DeveloperCommented:
sorry   its regsvr32.exe

Command Prompt right click Run as administrator


C:\Windows\System32\regsvr32.exe mschart.ocx
0
 
Raheman M. AbdulSenior Infrastructure Support Analyst & Systems DeveloperCommented:
Supported and unsupported statements in VB 6 under windows 7:

    http://msdn.microsoft.com/en-us/vbasic/ms788708.aspx
0
 
dmajic7755Author Commented:
Replaced MSChart object on form and everything worked correctly. Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.