Link to home
Start Free TrialLog in
Avatar of dmajic7755
dmajic7755

asked on

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?
Avatar of Raheman M. Abdul
Raheman M. Abdul
Flag of United Kingdom of Great Britain and Northern Ireland image

Option:
Try unregistering with  regsrv32.exe /u  and then re-register it

regsrv32.exe /u mschart.ocx
regsrv32.exe mschart.ocx
sorry   its regsvr32.exe

Command Prompt right click Run as administrator


C:\Windows\System32\regsvr32.exe mschart.ocx
ASKER CERTIFIED SOLUTION
Avatar of Raheman M. Abdul
Raheman M. Abdul
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Supported and unsupported statements in VB 6 under windows 7:

    http://msdn.microsoft.com/en-us/vbasic/ms788708.aspx
Avatar of dmajic7755
dmajic7755

ASKER

Replaced MSChart object on form and everything worked correctly. Thanks